Thread: Research: "Background" Scripts
View Single Post
  #1    
Old October 9th, 2012 (11:55 AM). Edited October 9th, 2012 by Spherical Ice.
Spherical Ice's Avatar
Spherical Ice Spherical Ice is offline
Team Hoenn
ModeratorCSGT
 
Join Date: Nov 2007
Location: Leicester, UK
Posts: 3,582

Running Background Scripts


The following is referring to FireRed, BPRE.

Let me preface this with the fact that I know almost nothing about the game engine, how scripts are executed, and only understand the bare basics of ASM. I wonder, however, how possible it would be to execute scripts; level scripts, in particular; that run in the background without locking events such as the player.

The main purpose for this includes JPAN's engine's button checking specials running in the background which would activate a chain of events whenever you push a specific button/combination of buttons.

One theoretical problem I have thought of is lag: having a script constantly running in the background would surely cause lag, but would it be crippling? If so, are there other more direct ways of having an event occur from a button press in certain situations?

Hopefully this "brief" is enough to get some minds turning. I think this would open up loads of possibilities for minigamems, different types of gameplay, etc. I look forward to your ideas!
__________________
Reply With Quote