IDE :: Looking To Get Some Pointers On A Game?
Jun 17, 2009
Mainly looking for pointers to the tutorials I am sure exist (but which I can't find). But I am also very open to any general or specific advice you may have to spell out for me in the thread. I am looking to build a PBBG (Persistent Browser Based Game) which, while single player, has some few multiplayer elements. Indirect interaction. One example of this is a commodities market - yes, the good old space trading, fly to one planet and buy, fly to another and sell scenario. I want every player to impact the inventory of each planet, and to have that inventory affect the buy/sell margins, etc. Other Indirect interaction would be bars et al, where players can chat, maybe (a BIG maybe) trade inventory and such. It seems direct, but it is not fighting one another or fighting at each other's side, etc.; so to me it is 'indirect' to the game. But that isn't why I'm here (feel free to impart any wisdom you have anyway, if you so desire); just an aside to explain a bit about the game.
[Code]...
View 1 Replies
Similar Posts:
May 13, 2009
I'm looking to build a very simple (hopefully!) interactive game.
- A number of balls are situated at the bottom of the stage.
- There are several dropzones which the balls can be placed in.
-Once a dropzone is occupied with a ball, its not possible to populate that the dropzone with another ball until the present one has been removed. -Depending on which balls are present in the dropzones, the balls animate differently. the red ball is placed in a dropzone. There are currently no other dropzones populated with a ball.
[Code]...
View 5 Replies
Oct 20, 2011
I'm thinking of making a simple clock design and adding hand pointers that tell the time.
a)how hard is it to add action script to the hand pointers?
b)can i use the clock on my desktop to show time?
View 3 Replies
Jan 24, 2012
Is there a concept of pointers or anything similiar to that in as3?
I have used a concept of
var mc1:MovieClip;
var mc2:MovieClip();
var mcCommon:MovieClip = new MovieClip();
mcCommon["myptr"] = mc1;
mcCommon["myptr"] = mc2;
Where would I get to read and learn more about this concept. I'd like to get simple answers, as I am not an expert in as3. I'm still learning.
View 3 Replies
Jul 27, 2009
Need pointers from the good folks here. I need to create an interface illustrated in the link below:
Calculator-like interface (GIF)Scenario 1) When the user clicks either the button 30 or 60, it will update dynamic textfield (value1) with the corresponding value 2) When the user clicks either the button 45 or 73, it will update dynamic textfield (value2) with the corresponding value
3) Dynamic textfield (output) will dynamically add the values of 'value1' and 'value2' and generate the total.
How do I go about scripting the interface?
View 1 Replies
May 27, 2010
Im trying to create a simple loop that creates 50 buttons, adds them to screen and then when a button is pressed, it traces out that number. I can get it to work by doing stuff I consider hacky (such as using the buttons X/Y location to determine its value), but I'd rather just be able to hold a single value in the function.
The code itself is:
for (var a:int = 0; a < 5; a++) {
for (var b:int = 0; b < 10; b++) {
[code]........
View 3 Replies
Jul 10, 2010
I am trying to implement a queue for loading external assets. Is there a way to make what I am trying to do work?Basically, each time a loading handler function is called, it gets the loaded data and then it calls loadComplete(), which triggers the next function in the loadQueue array.I am able to successfully place a function into a variable of type Function and then call it, but the part where I am adding the variable to an array is failing.
Code:
package
{
import flash.display.MovieClip;
import flash.events.Event;
[code]....
View 3 Replies
Oct 31, 2010
I'm not sure if you've noticed this, probably not, but function pointers in AS3 run much, much slower than calling the function directly. It's a recent finding, and an annoying one. I use function pointers a lot. An obvious example would be to easily change the behaviour of a certain object. Say I have a class that controls movement, it has a class level function variable called UPDATE (ie public var UPDATE:Function), and 3 or 4 actual functions it can point to.
This always me to quickly/easily change the behaviour of an object. Say for example I want an object to run on different movement code once it's collided with something, I can just do UPDATE = movement2; etc. However, a pointer for a function runs about 15 times slower than running the function directly, therefore I need a replacement. And I really have no idea why there is this absurd disparity in speed between the 2. With some variables, accessing a reference is faster than accessing the variable directly, obviously not with functions. What would you advise as a nice, simple replacement solution for the above example?
View 14 Replies
Jan 26, 2006
For those unfamiliar with tree structures, tree structures are usually dynamic lists where every node has a pointer to two other nodes. They are arranged so it makes for faster searching and stuff and are very useful in programming languages that offer direct access to heap memory. Although I don't know if there would be benefits of making tree structures in AS would be of any help but I decided to have a go at it anyway. Since there are no pointers in flash I tried to just replace pointers to nodes with nodes themselves. Such things usually work in java I think because the language just automatically makes pointers for variables.
[Code]...
View 3 Replies
Mar 7, 2012
I am going to develop a very simple game for android and for iphone/ipad I have the option to develop it in cocos2d or in adobe flash air (i am not a developer, but i have 2 developers who are offering me the service)I have a developer that states that cocos2d is better and other one that states that adobe flash air.I want it in cross platform.the cost offered by both developers is the same..i have heard that adobe air has the flaw that it is very slow, is this real? if you had the 2 options which will you use to develop your game and why?
View 1 Replies
Apr 24, 2011
I'm making a game that populates user-designed cards into the game using an external xml file. My main class loads the xml file and then calls to the "Card" class, which wants to use the xml file. I've tried using this.parent and it just gives me a null object reference error. This is what I have so far: Main.as
[Code]...
View 2 Replies
Jul 4, 2010
currently i making this game and objects would spawn at random and be able to click but when de game starts itself, the spawn is correct but i am unable to make it stop when time goes to 0seconds.
View 1 Replies
Feb 28, 2011
I'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once.What would be the most efficient/simple way of writing this in Actionscript 3.
View 1 Replies
Aug 3, 2011
I have recently started working with Mahjong game. But being not so experienced developer. I am just confuse about many aspects of it. So if anyone could throw some light on it. I have to build the game where there could be different number of tiles on screen. 32, 48, 64 , 80, 96, 112 and so on Now I have questions regarding the levels of blocks in this game. I mean the layouts of the game should be predefined or they should be dynamically created? Also I wanted to know how the surface of enable and disable symbols are created?
View 2 Replies
Jun 13, 2009
I was trying to make a game, and the character inside the game could swim. However, I only wanted him to swim in short bursts that refueled every time he hit the ground.
View 9 Replies
Jul 23, 2010
im trying hard to make a Game like the Pokemon TCG .
View 2 Replies
Nov 19, 2009
I think Flash/Flex is a good aproach for this case.We need to build some like the following
View 2 Replies
Dec 14, 2011
I am thinking of developing of a game like this: [URL]... Do you have any idea - by which game engine I may develop this type of games? I am not sure whether I have to use any 3d physics engine? I think JiglibFlash may be useful, but I am not sure.
View 1 Replies
Apr 1, 2011
how to make a game tutorial as farmville game tutorial to teach the user to play the game. i have recently involve in make that kind of game tutorial for its user by actionscript 3
View 1 Replies
Mar 28, 2012
im trying to create a tamagotchi game type game. For some reason i can not add any items to the stage.Currently i have imported 2 png images to the stage and coverted them to movie clips. One is called TamagotchiCharacter and the other is called Beer. I have also created a new 2 AS3.0 script class called TamagotchiGame and DraggableItem. The following is TamagotchiGame:
Code:
package {
import flash.display.MovieClip;
public class TamagotchiGame extends MovieClip {
[code]....
I have assigned the above code as the BaseClass of the Beer symbol, this has allowed the beer to become draggable and droppable etc.when i run the program nothing happens, i just get a blank white screen.
View 2 Replies
Jan 22, 2010
It's about the "Game Character Dialogues", It is used to instruct the user what to do, like what you see in BookWorm or Diner DAsh.I used dynamic text fields to generate these dialogues,but as I continued doing it. I found myself stuck.I have no idea on how to change the words when the "next" button is clicked. there will be no previous button. but the dialogue will replay when the character is clicked.
View 3 Replies
Mar 15, 2009
Is there a way to get this code to work? It's meant to count the seconds passed while playing the game and gives a bonus multiplier to the current score when the game ends. I don't know how to get the returned value to combine it into the multiplier int variable. Is there any way to get this code to work or is it completely wrong?
View 11 Replies
May 19, 2010
We have a bug in one game whereby the sound of the word repeats. Even when we use stopAllSounds - the sound is still kept in memory and you can hear it in the next activity - it's a disaster and kids get real angry.
View 3 Replies
Oct 22, 2011
I am making a Shooting game in flash actionscript 3 and have some questions about the flow of logic and how to smartly use the OOPs concepts.There are mainly 3 classes:Main Class: Initializes the objects on the screen.Enemy Class: For moving the enemies around on the screen.Bullet Class: For shooting.What I want to do is find out if the Enemy has been hit by a bullet and do things which must be done as a result ...What I am doing right now is that I have a ENTER_FRAME event in which i check collision detection of each enemy unit (saved in an array) with the bullet instance created, and if it collides then perform all the necessary actions in the Main class .. clogging the Main class in the process
View 2 Replies
Oct 20, 2009
well i made a game and in the game there is music at the first frame and when u lose to goes back to first fram and more music plays so they are overlapping.
View 10 Replies
Apr 3, 2009
im creating a card game. i have a seperate timeline for the menu bar. ive placed this code on the first cell of the timeline:
Code:
import mx.controls.Menu;
import mx.controls.MenuBar;[code].....
the problem i get is that when the user selects "new game" it should restart the game. when it does this the toolbar is not reset. instead a new menu item is added (without removing the old one. so evertime the user hits new game, a new "file" menu is added). how do i make sure there is only 1 "File" menu? and im using actionscript 2
View 1 Replies
Feb 15, 2010
When game page loading , the flash game itself does not appear ( just white area as the holder of the flash game) untill the game almost finish downloading, then it appears .. This long waiting with just white area makes visitors leave, thinking there was nothing there.
View 1 Replies
Mar 22, 2010
where to get classes to putting together a board game, free of course.I do not want to use them actually but get the idea of how mine would incorporate into the classes.I have a board game where I want each square on the board to know if it is occupied or not, to change its color, and to keep track of what is actually happening with it.
View 2 Replies
Jul 8, 2010
I am working on a Heads up display and I am having some problems. The Problems are i cant seem to get Flash to do what I want...I am relatively new to flash but I know that I need to use action script 2.0 and Kismet to make what I want happen. (I am using the UDK and Scaleform for the development of the game I am helping with)Here is what I am doing.
I am making a cross hair. When I highlight an enemy it should turn red. When it Highlights an ally it should turn blue.I have made a heart beat Monitor that needs a animation for a heartbeat and Flat lining. The Background of the Heart beat monitor Changes color according what has happened to the player, If the player Gets hit the background of the heartbeat monitor changes color. If the Player gets hit too much the Heart Beat Monitor will flat line.Then I am making a radar for the hud.
View 1 Replies
Sep 18, 2005
So I made a movie, then I made a game to go along with it. I made the game in a seperate FLA. After I was done making the game, I went through to make sure I never used _root. I hadn't (I think I'm pretty sure, I've checked a couple times.) I basically copied all four frames of my game and put them in a movieclip in the original movie. However, when I exported this, the game...well, you can see for yourself. It just...doesn't work.Here's the FLA of the game and movie:
View 11 Replies