Flex :: Flash Computational Engine For A Connect-4 Type Game Be Too Slow?

Mar 20, 2010

I was just fooling around in my spare time and have made this cool interface and game-playing code for a Connect-4 type game, written in Flex and playable by 2 human players in Flash. It accurately detects wins, etc. I'm smart enough to know that I've done the easy part.Before I dig into an AI for game play, I wanted to ask if this is the kind of thing that can really be handled computationally by a Flash plugin. It seems to me that for every turn up until the end there are 8 possible moves, 8 responses to each move, etc. So wouldn't a perfect engine have to be able to potentially see 8^8 moves (over 16 million), and a fairly good engine see up to a million? I don't know game coding so this is new to me. What's a reasonable move horizon for such a game to be able to see?

View 1 Replies


Similar Posts:


Flex :: 2d Game Engine For Race Game Built To Webpage?

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

Actionscript 3 :: Flash Game Engine Selection Of An Awesome Game?

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

Flex :: Poker Game Scaling In Google Apps Engine Vs Amazon EC2?

Oct 19, 2010

I have a server side code written in java and client side code written in flex. As client makes a request roughly every 3 seconds to the server, then I'm pretty sure I'm running into scalability problems at some point.

As far as I can see, I can host the application either in Google Apps Engine or Amazon Cloud. As I understand Amazon offers a do-it-yourself approach and I have to set up and maintain the cluster myself, which I'm not really fond of so I'm inclined to use GAE, which promises virtually infinite scalability if one can conform to the limitations and restrictions of course.

One of the limitations is the number of requests at 500 per second (can request temporarily more by filling in a special form), which roughly translates to 1500 simultaneous users, each pinging after every 3 seconds to the server.

What bothers me is that I really don't know how big this thing can grow and 1500 players definitely doesn't seem like a lot so besides using Google Apps and perhaps AWS (unless it scales better with what I'm trying to do), what other options do I have, which wouldn't cost me a fortune?

View 1 Replies

Flash - Creating A Game Using The Platogo Engine?

Jul 2, 2011

I just started to learn AS3 and decided to use the Platogo engine, and I got stuck on the first part. It is described as follows:

[Code]...

View 1 Replies

Flash :: Does PushButton Game Engine Have The Notion Of A Camera

Apr 10, 2011

I am playing around a bit with the PushButton Engine for game development in Flash and have come across a need for a Camera like the Camera that follows Mario in Mario Games. Flashpunk has a nice implementation of it.

Does PushButton have it out of the Box?(I searched for it and didn't find, hence the question here).

View 2 Replies

Flex :: Connect A Pair Of Clients Together Via Server For An Online Game?

Oct 27, 2009

I'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does the picture change at all if teh clients are running on phones?

View 4 Replies

Professional :: Connect Flash To Php With A Simple Type In A Name?

Sep 11, 2011

how i can connect flash to php with a simple type in a name and submit it through flash..yes there is downloadable class's but i couldn't get them working and integrating together properly, can someone refer me to where i can learn a BASIC of it... i know brief php already.

View 1 Replies

Adobe - Slow Down A Flash Game?

Apr 26, 2010

Basically the objective is to click on certain targets, which upon doing so would destroy the target and garner you points. I've written a macro to help me until the point where its impossible to even see the target more than a mere flicker, (maybe even less than that, i cant see it with my eyes). But its possible because i believe others have done so. (Maybe on slower comps?)

Anyway the question is, how would it be possible to slow down the flash game?
I've thought of a couple of ways that could work but i'm not sure how to implement them.

1. Slow down the cpu speed? (smth like that? how?)

2. As the game progress the time the targets appear and stay up is reduced. Maybe theres a variable controlling all of this, isit possible to modify the address of this variable? freeze it or smth?

View 2 Replies

ActionScript 2.0 :: 'Connect Dots' Game In Flash

Aug 28, 2006

Has anyone ever seen or made a 'connect the dots' game done in Flash?

View 14 Replies

ActionScript 3.0 :: Flash Game With Facebook Connect?

Jul 11, 2011

i made flash game in action script 3.0. In my game i have leader score.. i have 2 buttons 1. share on facebook and 2. challenge your friends on facebook.on clicking 1 button it will directly go to facebook and share my score on facebook.And on clicking 2 button my all facebook friends pics will appear with checkbox when i am selecting few of my friends and click on go buttons, the facebook request will go to selected friends only for challenge ... how to do this 2 buttons functionality.

View 1 Replies

Haxe/Flash Game Loop Slow Down Over Time?

Mar 29, 2012

I have a game loop written in Haxe/Flash. For some reason it slows down over time. At first it runs reasonably, but my laptop fan starts spinning up and it gets slower and slower. Why would this happen?

import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import flash.display.MovieClip;

[code].....

View 1 Replies

ActionScript 2.0 :: The Flash Game Runs Too Slow In A Browser?

Feb 28, 2006

I have made a plattformgame in flash, and after I had published it I tested it (local) when it was embedded in a browser, and it hacks and laggs! But when I play it in the flash player it works just fine.

I removed all the heavy graphics, lowerd the fps to 30fps and removed all the code so now its just the bassis left (gravity, collision, key checking etc. and yes u should bounce on the walls giving a wall jump effect).[URL]

View 4 Replies

Actionscript 3 :: Connect Those Two Clients To The Central Flash Game?

Nov 15, 2011

I am trying to connect 2 flash clients to a flash game, each client will control a object in the flash game.I am unsure of how I can connect those two clients to the central flash game, or what the best way would be to achieve the desired result.I am just trying to send commands from the flash clients to the flash game, but I am unsure of how to go about it.

View 1 Replies

ActionScript 3.0 :: Finding A Commercial (2D) Game Engine?

Apr 17, 2009

I am just wondering if there is any commerical game-engine middle-ware or library for ActionScript 3 (I am big fan of "don't reinvent the box unless necessary"). I have checked out some Open Source ones such as PushButton and my google-fu is too weak to turn up anyone that is commerical (is that even allowed by Adobe in the first place?)

View 4 Replies

Game Engine :: Flash Multiplayer Turn By Turn?

Oct 7, 2011

I'll start off by saying I'm a newbie, just putting that out there. How do you make a turn by turn multiplayer flash game? I don't know if an engine is made in AS3, PHP, Javascript, or whatever,I made my game already, it's just that it isn'tmultiplayer yet. Basically, there are lines, and each player crosses out a number of lines, and the last player to cross out a line is the loser. I want it where one user crosses out some lines, then presses End Turn, then the other does their turn and then presses End Turn to allow the other player to move his cursor. But how can I get both players to see the same frame and only have one player have the ability to move the cursor during a turn? Is there some easily adaptable multiplayer engine for flash for newbies out there

View 2 Replies

ActionScript 3.0 :: Layer Manipulation - Game-engine, Which Will Add Objects To Itself As Symbols?

Jul 8, 2009

I'm creating a game-engine, which will add objects to itself as symbols, and I want to be able to choose how they are "layered". For example, say I decide to model things in a type of 3D, and the Z co-ordinate is used for depth (distance from front), how would I translate this into an object 1 unit away rendering in front of an object rendering 2 units away? The engine programming I've done fine in terms of calculating the values etc., as I have a strong javascript background so that was the easy what with actionscript's neat OO syntax, but getting it to do things visually is a bit problematic know, heh. So far all I've really managed is a nice little loading bar, which isn't really that hard =D
 
Also, the symbols I create are actually going to be comprised of multiple parts; a base-layer, a detail-layer, and a colour-layer. What is the easiest way to do this? Ideally I'd create the symbol with multiple layers of its own, and simply toggle the detail and colour-layers on/off as required, and tint the colour-layer independently of the rest of the symbol. Is this possible? Or will I need to use multiple symbols and move them in tandem myself?

View 4 Replies

Actionscript 3 :: Where Should Damage Logic Go Game Engine Or Character Class?

May 22, 2010

I am making a game and I am trying to decide what is the best practice for exchanging damage between two objects on the screen. Should the damage be passed directly between the two objects or should it be pass through a central game engine that decides the damage and different criteria's such as hit or miss or amount dealt.

View 3 Replies

Actionscript 3 :: Framework / Engine For Building Social Game Like FarmVille?

Sep 8, 2010

The current architecture of the game is:PHP + MySql backend,Flash and ActionScript 3 frontend.Major criteria for engine/framework selection are:Support for isometric view. Resuability : The current game development should easy the work for building similar social game of diffrent story type in future.

Ease of development as3isolib - for isometric rendering, but restricted only to the rendering part. PushButton Engine - open source engine, component based Open-space engine - But That works with Smart Fox Server only I guess.

View 2 Replies

ActionScript 3.0 :: Create A Tamagotchi Game Type Game?

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

ActionScript 2.0 :: Any 'scratch And Win' Type Of Game In Flash?

Sep 11, 2003

does any1 know or have done any 'scratch and win' type of game in flash?

View 4 Replies

ActionScript 3.0 :: Slow Game After A While

Mar 1, 2011

I'm making a game with as3, it is very simple, but when I almost have finished the first "beta" of my game i realized that it become slow later a while playing the game (2d) is only a ball (player) that shot mini balls against enemies that run to the player.I have trying a lot of time to solve my problem by myself, but i couldn't.Only i can realize that the problem is about the creation of the enemies and mainly about the creation of the shots, this is created by a class called "scene" that through a addEventListener (Enter_frame), create and move this objects. After a while, when the game has created a lot of enemies and shots, the game begin to become slow; i delete the object and the variables with remove child and delete(), respectively but the problem continues.[code]

View 1 Replies

ActionScript 3.0 :: Slow Motion For My Game?

Oct 6, 2010

Am doing a fighting game and i want to make it in slow motion if CTRL key is pressed.. http:[url]...I saw similar effect in another game..

View 6 Replies

ActionScript 3.0 :: Slow Response In Game

May 13, 2011

I have created a Mahjong solitaire game in which 144 tiles are laid out on the stage, variably stacked up to four levels. You find two matching tiles that have free sides and have no tile sitting on top of them, click them both, and they are removed. Object is to remove all of them.

My problem is that I'm getting about a one second lag when I click the second of two matching tiles. I'm pretty certain that the bottleneck is in the functions that get called when any tile is clicked, that determine if it's free on one side and above. I have never "stepped through" or otherwise debugged before. Is there a way for me to step through my code and get some indication of what the specific problem is?

View 1 Replies

ActionScript 3.0 :: Game Running Slow In A Browser?

Oct 17, 2010

my game running very slow in all the browsers but its OK as a standalone application.

View 3 Replies

Actionscript 3 :: Drag And Drop Matching Type Game With Groupings In Flash

Oct 28, 2011

sorry for the misunderstandings in my program, i'm quite new here and i am also new in using flash. here is the sample output that i used in my code

[Code]....

View 2 Replies

Flex :: DTD Flash Open Source Engine?

Nov 19, 2009

DTD flash flex action script open source engine?I need some open source engine for creating some games like Desktop Tower Defense games

View 1 Replies

ActionScript 3.0 :: Flash Changing Direction When Ball Reaches Gutter In A Bowling Alley Type Of Game?

Aug 20, 2011

I am trying to make a bowling alley type of game. I want the ball to change angle when it reaches the gutter, but the problem I am facing is, how can I check when the ball has reached the gutter as the bounding box for a line/box in perspective is bigger and I want to check any point on the line when the ball is passing/crossing that point and moving so that I can change its angle and direction. And also does anybody have a collision method algorithm or physics to create the falling of PINS when the ball hits the PINS.

View 1 Replies

Professional :: Flash Game - Symbol 'levelcomplete'1046: Type Was Not Found Or Was Not A Compile-time Constant: NextlevelBtn

Jan 22, 2012

Now getting this error: Symbol 'levelcomplete'1046: Type was not found or was not a compile-time constant: nextlevelBtn. Hi guys, Beginner here having some trouble creating my first flash drag and drop jigsaw puzzle game. The drag and drop jigsaw puzzle works to some extent, but it is the "level complete" movieclip which is causing problems. On testing the movie i get this error:1061: Call to a possibly undefined method addEventListener through a reference with static type Class.

[Code]...

View 3 Replies

Flex - Mac OSX Firefox 4 - Flash Is Very Slow?

Apr 20, 2011

Has anyone else found that flash is VERY slow when using Firefox 4 on Mac OS X?This happens when the .swf gets larger than ~1000px, the whole .swf is slow to scroll, respond, etc.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved