Php :: Architecture For A Farmville/yoville/cafe World Type Game?

Jan 18, 2010

I'm thinking of building a game along the lines of Farmville - items, events, time management system etc. Options I am thinking of:

1) Flash UI frontend that uses AMFPHP to get all data for the view from a PHP powered backend.

2) Actionscript to power the whole game

My concern with Actionscript is scaling, my concern with PHP is having to build an update system that would need a lot of back and forth xmlhttprequests which might get complicated.

View 5 Replies


Similar Posts:


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

Flash :: Make A Social Game In Facebook Like Happy Aquarium , Farmville?

Jun 2, 2010

I want to learn how to make a social game in facebook. How to go about it. I think you would need a team of devs. What languages are used to make social games like farmville, happy aquarium, etc.

View 4 Replies

ActionScript 2.0 :: How To Create My World In Game Project

Aug 16, 2010

Right now I am creating a game kinda like the helicopter game. I have been trying to decide how make my world. I tryed drawing the entire thing and then just have it play through in a motion tween (classic tween) but that was way to time consuming. Also when you hit the objects in this world you die and its game over just like in the helicopter game.

View 4 Replies

Actionscript 3 :: Component Based Architecture In Game Development?

Oct 1, 2011

I have been thinking of trying out component based architecture for game development. I have read some blog posts and articles about it but I have a few things I have not sorted out yet. When I say component based I mean that you can add components to a ComponentManager that updates all components in its list. I want to try this to avoid getting classes that inherits variables and functions that they donīt need. I really like the idea of having an really simple entity class with a lot of components working side by side without getting bloated. Also, it is easy to remove and add functionality at runtime wich makes it really cool.

This is what I am aiming for.

// this is what the setup could be like
entity.componentManager.add(new RigidBody(3.0, 12.0));
entity.componentManager.add(new CrazyMagneticForce(3.0));
entity.componentManager.add(new DrunkAffection(42.0, 3.0));
// the game loop updates the component manager which updates all components
entity.componentManager.update(deltaTime);

Communication: Some of the components need to communicate with other components I canīt rely on the components to be self-sustaining. Sometime they will need to communicate with the other components.In Unity 3D, you can access the components using GetComponent().I was thinking of doing it like this, but what happens if you have two components of the same type? Maybe you get a Vector back.

var someComponent : RigidBody = _componentManager.getComponent(RigidBody);

Priority: Some components need to update before others

Some components need to update before others to get the correct data for the current game loop. I am thinking of adding a PRIORITY to each component, but I am not sure that this is enough. Unity uses LateUpdate and Update but maybe there is a way to get an even better control of the order of execution.

[URL]

View 1 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

Movie Clip Cafe Townsend?

Jul 11, 2009

[URL]...devnet/dreamweaver/articles/first_website_pt1.htm l zip file/ fla. How do I make  movie clip /banner like cafe townsend with Flash CS3?

View 2 Replies

Flash :: Always Crashes When I Play Farmville

Jul 27, 2010

I play Farmville the flash always crashes and it takes forever to play

View 2 Replies

Stopwatch Type Timer For Game?

Jul 8, 2009

I've got game for kids where you click the right coloured circle.Its not really a game as I'm writing my dissertation on designing interfaces for kids. You didn't ned to know that. Basically, I've made a game where you click the right coloured circle to go to the next level, and what I need is a timer that starts when you click "play" and ends when the last circle is clicked. This is so they can see how long it has taken them.

I have uploaded the fla file here http:[url]....f you could take a look, it's not a big file.I have searched for a while and Ive managed to make counters but only ones that start when the movie loads and I don't know how to stop them.

View 2 Replies

DataChangeEvent - Type Not Found When Compiling Game

Jul 10, 2009

When I try to compile a game I am developing that includes the class below I get one of two errors:
1046: Type was not found or was not a compile-time constant: DataChangeEvent.
or
1046: Type was not found or was not a compile-time constant: Event.

I am on Flash CS4 with the Flex SDK 3.2.0 installed and all library paths set in the little project properties window and general prefs. I really ned to get this thing done. I can't just copy and paste the source now, because I have images in my library I have no idea how to get linked classes, etc out.

Code:
package {
import fl.events.*;
import flash.display.*;
import flash.events.*;
public class PencView extends DisplayObject implements IPencView{
protected var model:PencModel;
[Code] .....

View 3 Replies

ActionScript 2.0 :: Switching Bullet Type In Game?

Nov 30, 2008

[URL], but this is a completely different question. I now have a fully functionnal jet plane which fires tiny red bullets. Now, I want to be able to alternate between bullet/ammo types on the fly, (with a shortcut like shift or something, but not neceserilly that) from the red bullet to something like a yellow laser. I'll attach the file I have up to now.

View 4 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 2.0 :: How To Make MZE Type Game Using Crash Detection

Mar 23, 2002

I want to make a screensaver that has a maze game on it, It will be controlled by using the arrow keys on the keyboard. The only problem I have is working out how to make the movie detect the walls and stop the square (what the player controls) going through them.

View 2 Replies

ActionScript 3.0 :: Tower Defense Type Game - Object Access?

Feb 14, 2012

I am hammering out a Tower Defense type game. I'm starting to design my custom unit mechanics. I've used numerous other tutorials for the framework here (largely one mans blog - credited in my AS3 file..) I want when a unit dies, that it runs a function - checks a field I've created within the unit called a 'tag' - and depending on that do other things. From within the kill() function I successfully call my infantryDeath() function, and I've verified within kill() it's recognizing the dead objects tag. I've verified the entry into infantryDeath() and that the tag is still the same.

Here's the problem:
function infantryDeath(creep){
//inGameMessage("infantryDeath() successfully called"); <-- works
//inGameMessage("Unit died with ID: " + creep.tag); <-- properly shows the ID of the "creep" it received
inGameMessage(this); <-- prints out _level0 (the id for the level itself)
if (creep.tag = c1) <-- the unit with this tag dies, and triggers this block successfully{
[Code] .....

I have no clue why the object I'm supposedly working with changes just by virtue of being within the "if" block. If I pass an object into a function shouldn't manipulating that object remain constant within that function?

View 9 Replies

Flash - Isometric Engine Used For Social Games (Like Farmville / Happy Island)

Aug 19, 2010

1) Is an isometric engine used to render the world in social games. If yes, can you guide me somewhere where I can learn how to use it.
2) Also, how are the houses, buildings, farms and other objects placed via drag and drop. Is there any tutorial for that?

View 1 Replies

ActionScript 3.0 :: Boggle Type Game: Getting Text File Of All The Words Of A Dictionary?

Aug 5, 2011

seen a tut on a boggle type game - making words from a selection of letters. You type in a word and then it is checked against the array word list.etc...

View 1 Replies

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

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

Php5 :: Stress And Load Test Flash Games Like Mafia Wars, Farmville?

Jan 5, 2012

We're devoloping a flash game which have a php and mongodb backend.. It's kinda like FarmVille and other zynga games.How can we make fully load test to cover possible performance issue earlier?

View 2 Replies

ActionScript 3.0 :: Reg Point Bottom Left For A Super Mario Platform Type Game

Jul 7, 2011

if I make a Super Mario platform jumping game - should it be bottom left ie: the hitPoint of his feet and the platform he lands on.

View 3 Replies

Actionscript 3 :: Bubble Pop Game / Defining ToString Method Through Reference With A Static Type Class

Apr 3, 2012

I have the actionscript code here for a bubble popping game. When the game starts, bubbles fall down from the top of the game to the bottom and score is kept for the most bubbles clicked or popped in 30 seconds.The size of the bubble is defined by the initialize method in the code, and uses ToString() to calculate the score. ToString gives me a 1061: Call to a possibly undefined method Random through a reference with static type uint. This error which I cannot figure out where it comes from.[code]

View 4 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

Flash :: Use FXG In Real World?

Feb 26, 2012

Have anybody found or seen real world example of using FXG files in real world applications?

View 1 Replies

ActionScript 3.0 :: Controlling Devices In The Outside World?

Mar 4, 2010

What I need to know is if Flash can control objects outside of the computer itself. Example would be if you had a light hooked up or something like that, could you use ActionScript code to illuminate said light when a button is pressed. Somehow control the output of power to a source outside the PC when Flash is told to do so.

View 4 Replies

Make A Grid Over World Map With Buttons?

Aug 11, 2010

Im making a game, and im very new to this, so please explain as good as you can. I have started with making the background which is a simple world map. I put in script so you can scroll around the map with the arrow keys. Now this will be a wargame, so i need some kinda grid over the map, like buttons of 50x50 placed all over the map, like the board game Risk for an example, so people can fight for territory. I tried doing this with buttons but made the game file very large, and it used to much ram.

View 13 Replies

ActionScript 2.0 :: Delve Into The World Of Flash/XML?

Mar 23, 2007

I'm trying to delve into the world of Flash/XML and the horrible mess they make together for me

This is my XML:

Code:
<?xml version="1.0 envoding="IS0-8859-1"?>
<events>
<event>

[Code]...

I've added a dynamic text field on the stage with the same name as the elements. Then, I want to be able to call several instances of it...i.e. add another <events> code block and have that come up underneath the existing info. I've search high and low to try to do this myself and I've failed miserably.

View 2 Replies

ActionScript 2.0 :: World Date And Time?

Sep 16, 2003

I have a map and want to be able to show the date and time on a few individual parts of the map. The date and time will display when the users roll-over the area of the map. There are about 10 different areas. Can someone tell me if that's possible.

View 2 Replies

ActionScript 3.0 :: Virtual World Avatar Assets

Jul 14, 2010

I have some beautiful CATS drwan up for me. In typical avatar style you can change the colour, hat etc... of your avatar.What is the best set up for the assets.

1. Would I programatically import the HAT asset for example when chosen by the user

2. Would I have all the assets sitting inside on a layer inside the avatar - then it would be MASSIVE
 
Once the avatar is created it needs to walk around my virtual world etc... I don't want the MASSIVE avatar walking around with all the assets inside it.How would I only get what the user chose ie: A red cat with a black hat.Also, the colours would be best to programme them in otherwise I would have to have 10 different coloured copies. Is that right?

View 4 Replies

Professional :: Make World's Simplest Air App, But It Won't Build?

Mar 5, 2012

I'm getting "Application descriptor file cannot be parsed" before I've done anything -- see screencast at I've spent several hours trying various dialog boxes within Flash to change air/publish settings, editing XML file by hand, trying to launch things using AIR SDK outside of Flash, googling for something similar, but I can't seem to come up with anything that works.I'm curious if other people follow the steps I followed in the screencast if they get different results. I think they must, as I'm just following the first couple of steps from

View 3 Replies







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