Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Major Community Projects
»
The Axe Parser Project
(Moderator:
Runer112
) »
Lag Problems with Collisions
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Lag Problems with Collisions (Read 4523 times)
0 Members and 1 Guest are viewing this topic.
The VFX Wizard
LV1
Newcomer (Next: 20)
Posts: 9
Rating: +0/-0
Lag Problems with Collisions
«
on:
March 22, 2018, 09:04:24 am »
I have been re-creating Space Invaders in Axe and it was going smoothly until I ran into some lag problems. Every enemy has to check for a collision with each bullet and the player every tick. When I added player collision the whole game started going extremely slow. Is there an optimization trick I'm missing? Thanks.
Logged
5 Things I hate the most: lists, irony, lists, repitition, typos, and the Oxford comma
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4705
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Lag Problems with Collisions
«
Reply #1 on:
March 22, 2018, 09:20:50 am »
Could you post the code you are currently using?
In assembly, I would draw to a "collision buffer" and test with that, but I don't think that is efficient in Axe code.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Major Community Projects
»
The Axe Parser Project
(Moderator:
Runer112
) »
Lag Problems with Collisions