Hot answers tagged

53 votes
Accepted

How can I make 3D games in 4K that are a few megabytes?

There are ways to make nice 3d graphics with low memory footprint, however that requires you to have the right experience and knowledge. There are games like .kkrieger which is a 3d first person ...
  • 4,373
6 votes
Accepted

Level Design: Char Traveling to and from a Site

There are multiple ways to solve this. If you want to include said long drops and other one-way obstacles, that should be factored in possibly as a feature. The Legend of Zelda series often uses ...
5 votes
Accepted

How to make game like Gals Panic

Gals Panic, is a Qix type game. You may search for Qix to get more information on how things work. The general concept here is, having two images. One is the picture that you want to be revealed. The ...
  • 3,997
3 votes
Accepted

Feasible to do all game logic on PHP server?

It depends on your skill at programming, but it should be feasible. Remember, Facebook was built in PHP and it serves a pretty big crowd. A better question might be if PHP is the best choice for what ...
  • 1,546
3 votes

Level Design: Char Traveling to and from a Site

Here is an idea: You can create one-way paths, with a little tweak. If the player enters the path from "Site 2" he should see everything mirrored. This way, if he starts from Site 1 he can go to Site ...
  • 8,677
3 votes

Is Flash (Flash/Flex/AIR) a still maintained technology (either officially / 3rd party) suitable for Web Player (linux) and mobiles?

I'll interpret your question this way: In the context where I want to produce stuff, should I keep on making games with Flash given the current situation? From experience, if the publisher of an ...
  • 16.1k
3 votes
Accepted

How should I animate sprites with separate body parts?

We don't answer questions about which technology to use here, since it comes down largely to personal preference, compatibility with your studio's workflows, and the needs of an individual project. ...
  • 125k
2 votes
Accepted

Should all stats only exist on MySQL database for my Flash browser RPG?

"All the logic will be handled in Flash" there's your problem. It doesn't matter where you store the stats if I can hack my client to ignore them and just always report back "Yeah, I toooottally won ...
  • 125k
2 votes

I have an editable SWF with Refferal protection, how would I remove that

As described in the comments above, even given that your intentions are perfectly noble, this is a publicly visible site. If we told you how to defeat a game developer's protections on their game here,...
  • 125k
2 votes

How can I improve the seemingly capped framerate of my flash game?

Flash Player has frame rate capped to 60, ignoring Stage.frameRate = 1000 property since FP10. In Flash Player 9.0c, both frame ...
  • 141
2 votes
Accepted

How can I improve the seemingly capped framerate of my flash game?

According to AS3 documentation: frameRate: Gets and sets the frame rate of the stage. The frame rate is defined as frames per second. By default the rate is set to the frame rate of the first SWF ...
1 vote
Accepted

Better way than url-encoded query stings to pass data from PHP to Flash?

What you have here is basically a RESTful webservice API. The client communicates with the backend using HTTP requests with the request parameters in the query string. The backend then answers the ...
  • 115k
1 vote

How does Actionscript choose which order to run objects' code in?

If your are working on Flash or Adobe Animate area, change the depth of your MovieClips to change the order of running them by select and press ctrl+shift+(UP or DOWN).
  • 151
1 vote
Accepted

Character jumping but not returning to ground platform game AS3

You forgot to add Newton's listens about gravity here :D. change the function gameLoop with mine and add tree variable out of it. ...
  • 151
1 vote

Camera and enemy behaviour in AS3 platformer

It has been a while since I used AS3, but... I believe you are expanding the hitbox of the enemy by adding bullets as children. Even when the bullets are removed from the enemy, the hitbox stays ...
  • 730
1 vote

How to make proper animations for a html5 game?

If you really want the best for your graphic team, then use 3d models. With an orthographic projection and good camera placement (it needs to be rotated 45 degrees around the y axis and 60 on the x ...
  • 14.7k
1 vote

AS3 move object to a point

So here is what I would do: In the Monster class constructor, you need to pass the player instance and store it, this way each monster will be able to know its target and chase it. Add an event ...
1 vote

Which better? Write all scripts on timeline or write it partially on `.as` file?

I'd personally go with individual AS files. Timeline coding is very AS2 and is more for animators as someone else stated. If your game gets complicated, breaking classes out into AS files will ...
1 vote

How to create UI for 2D games?

There is this haxe ui builder you might want to check out. In general however, if such a tool doesn't exist or doesn't give you what you want, what might help is to create the UI using an image ...
  • 206
1 vote
Accepted

Flash animation or Sprite sheet animation good for Unity mobile games

Here are some tips: Try to minimize sprite sizes. Try to minimize number of sprites. Keep Spritesheet size to less than 8192x8192, as Unity does not support larger than that. Keep tracking smooth ...
  • 3,347
1 vote

AS3 - Increase tint as health decreases

A friend of mine actually provided a great solution on Facebook. Healthratio = currentHealth/MaxHealth tintRatio = 1.0 - healthratio Anyway, I wanted to share ...
1 vote

Level Design: Char Traveling to and from a Site

In addition to the other answers, you could let the player be stranded on the far side of the trip temporarily: if they try to go back, they will start at the cliff to make it clear that they can't. ...
  • 362
1 vote

addChild does not work in Flash

I'm not familiar with flash/as3. This said, I fail to see what instance would be the parent to the child you're adding with addChild in a ...
  • 16.1k
1 vote

Calculations for a camera system

Expressing your camera using bounds If I noticed correctly, you are currently expressing your camera as a focuspoint (= center of the camera) and a zoom level (how closely zoomed in you are). I'm ...
1 vote

How to achieve smooth sprite movement with a scaled up canvas?

From what you're describing, you seem to be scaling a translation as well as your sprites. You should scale your sprites when you load them, then translate them around. Or, if you apply all your ...
  • 16.1k

Only top scored, non community-wiki answers of a minimum length are eligible