It is currently Mon Oct 14, 2019 1:56 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Physics Demo
PostPosted: Thu Sep 05, 2019 4:08 pm 
Offline
User avatar

Joined: Sat Aug 31, 2019 2:12 pm
Posts: 17
Hi!!

My name's Bruno and I'm new here! :D
I've grown-up with a NES clone and having the opportunity to write code for it, is a dream come true! I haven't been this excited about programming in years!!!

So, I've been using the 8bitworkshop IDE for a few weeks now and after creating a mini text adventure, I decided to start experimenting with collision detection.
The entire thing is written in C and I am well aware of its performance issues. Nevertheless, I'm looking forward into learning how to speed-up the critical parts using assembly (inline or files).

Image
Sped-up footage, it's actually pretty slow...

https://youtu.be/j1qBVLnMHvQ

About me:
As a professional, I'm a software developer (Python, C and some C++) for one of the big Japanese IT companies, nothing game related though, just boring business stuff.
As a hobbyist, I develop under the name "Ninja Dynamics" and I have some unfinished/work-in-progress stuff for PC and Android.
As a gamer, I'm completely addicted to Dragon Ball FighterZ (Demon~SS3 rank). I've tried to summarize my favorite games but there are just too many to mention. (Doom 2016 <3)
As an anime fan, Dragon Ball and Neon Genesis Evangelion are my favorite animes ever, alongside with Full Metal Alchemist: Brotherhood and Food Wars, just to name a few.

I have so many questions for you guys, so I'm really looking forward into learning a lot more from you all!


Attachments:
File comment: Up/Down/Left/Right: Move cursor
A: Spawn balls
B + Up/Down: Inc/Dec amount

balls.nes [40.02 KiB]
Downloaded 83 times

_________________
Image
Top
 Profile  
 
 Post subject: Re: Physics Demo
PostPosted: Thu Sep 05, 2019 4:29 pm 
Offline

Joined: Sun Mar 19, 2006 9:44 pm
Posts: 1005
Location: Japan
That's a pretty fun and impressive physics simulation!

Welcome here!

_________________
http://www.chrismcovell.com


Top
 Profile  
 
 Post subject: Re: Physics Demo
PostPosted: Thu Sep 05, 2019 7:10 pm 
Offline
User avatar

Joined: Thu Mar 31, 2016 11:15 am
Posts: 530
Cool. Are you handling rotation, or just bouncing? Either is neat I'm just curious.


Top
 Profile  
 
 Post subject: Re: Physics Demo
PostPosted: Fri Sep 06, 2019 2:03 am 
Offline
User avatar

Joined: Sat Aug 31, 2019 2:12 pm
Posts: 17
ccovell wrote:
That's a pretty fun and impressive physics simulation!

Welcome here!

Thank you!! :)

pubby wrote:
Cool. Are you handling rotation, or just bouncing? Either is neat I'm just curious.

Thanks!! There is no rotation, just some basic bouncing.

What I'm trying to achieve is a high-level C game framework, while retaining an acceptable level of performance.
The collision detection module so far, was the hardest one to put together (no floats? no sin()? cos()? atan2()? ARGH!!!! :lol: ), but I'm happy I did it! :)

Now I'm wondering if I can rewrite it in assembly... :roll:

_________________
Image


Top
 Profile  
 
 Post subject: Re: Physics Demo
PostPosted: Fri Sep 06, 2019 5:47 am 
Offline
User avatar

Joined: Tue Jun 11, 2013 1:04 pm
Posts: 98
Nice demo, thanks for sharing! :D
If it would be used for a game, then a ball-ball collision detection would be handy.
Nevertheless, it's fun as is already...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group