• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
AzrArzA

How game like farmville are made?

5 posts in this topic

About a month ago, I started to learn AS3 and I was able to make some simple games so far. But I do not understand however, why Facebook games like Farmville are constructed of multiple files .swf. I understand the point of classes, objects,  files like .swc, .as3, .fla, etc..

Can anyone explain or give me an idea of ??this kind of game? How they integrate and why use so much swf file.

0

Share this post


Link to post
Share on other sites

SaurabhTorne thank for yours answer. But, flex how? biggrin.png you mean the Flex SDK or Flex project? Because the games that I've created are based on Flex SDK, but are ActionScript projects. I tried to convert my action scripts projects in flex project but I think i'm doing unnecessary and useless things. Plus, in the end i get only a single swf biggrin.png.

0

Share this post


Link to post
Share on other sites

PHP+MySQL+HTML.

 

And then change HTML to Flash and you have Farmville :)

Flash, Flex, Unity3D, HTML5, JavaScript, Java, these are just renderers & interface frontpages for these games. All the logic and fucntionality is hidden on the server side PHP.

 


why Facebook games like Farmville are constructed of multiple files .swf.
Because these are just like "images" or "animations" (with some logic). There is no ActionScript behind it (except for handling interface, sort of like AJAX). It's more convenient to do these this way, especially since they never will interact with each other (it all goes to/from the server, no communication between flash files).
0

Share this post


Link to post
Share on other sites

So to understand this. All animations are done in html, java and flash without action-script. And all functions are written in PHP and the data stored in MySQL? Yes, it is logical. Thank for yours reply.

0

Share this post


Link to post
Share on other sites

So to understand this. All animations are done in html, java and flash without action-script. And all functions are written in PHP and the data stored in MySQL? Yes, it is logical. Thank for yours reply.

Yes.

 

Althrough, I lied a bit (for the sake of being clear :D), you can code part of it in AS (BattleOn had a whole battle system written on client side). But... here we are entering the realm of client side vs server side processing. It's more convenient and faster to drop as many calculations as possible on the client side (Flash/AS) but it breeds security concerns (the player can easily cheat, and trust me, they will try to cheat, always), so you want to move as much of important/vurnelable calculations on the server side. But, since it's still very tempting to use client side you might want to evaluate the risk vs reward (like, if you have a casual game where players are unlikely to download a hacked version of flash to connect to your server side code, or if the offect of cheating is non devastating or otherwise time consuming you might consider doing it on the client side).

 

Anyway, that's more advanced stuff you can deliberate on much later. For a beginner PHP as server side with all calculations and Flash as a renderer is a good rule of thumb.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0