Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Pinball Dreams discussion forum
2003-02-13 19:16
WVL

Registered: Mar 2002
Posts: 902
Pinball Dreams discussion forum

Hey guys/girls,

instead of updating my homepage all the time, I though I could open a new thread here instead. This will also allow other ppl to comment on the development.

okay, so whassup at the moment?

Well, Last month I completely restarted from scratch on the code. Why? Well, first I wanted to concentrate more on getting the game to run in less memory, also I wanted to focus more on accurate simulation of the ball and some small other things...

What I have done till now :

1 - spawned the ball ;-)
2 - added gravity to the surroundings, the gravity data is now RLE encoded, so it doesn't take up much memory anymore. Used to eat 20 blocks of memory, now I think a map would use 3-4 blocks..
3 - I changed the gravity routine to use polar-based vectors instead of cartesean, much more accurate!
4 - added a debug mode to the movement routines, you're able to pick up the ball with the firebutton and move it around. Let go of the button and you drop it on the table again.
5 - Worked on an accurate (within 1 'bradian' degree) direction calculation routine. This routine will be used for both friction calculations and calculating new directions after collisions. So it needs to be
6 - added a (simple) friction routine.
7 - I put a small preview on the web ;-)

get it at http://www.interstyles.nl/pinball.rar

okay, what am I up to now?

1 - increase the speed accuracy to 24 bit, I need this because the friction only affects speed in the last 3 bits or so, so it's not accurate at all..
2 - add spin to the ball, so it is allowed to roll.. (also gives effect to the ball like top-spin and such)
3 - dunno yet, I'll see what is the next logical step after that.. probably the new method of collision detection, dunno..

I'm thinking of putting the sourcecode online as ascii file, so everyone can check it out...

Suggestions? Questions? other stuff?

greets, Werner
 
... 163 posts hidden. Click here to view all posts....
 
2003-09-23 17:09
WVL

Registered: Mar 2002
Posts: 902
certainly not the forum with the most activity ever ;-)

Just wanted to let all you guys now I'm now working hard on reflecting the ball from walls.. Also I solved a big part, so I can speed up multiple reflections in one frame a *lot*! I hope to put out a new prv this weekend, maybe with some graphics for the first time :D

also, maybe you guys can help me with something : I'm having problems trying to get in touch with Jailbird again.. I heard he's in somekinda trouble. Anybody know something more?! or how I can reach him?!
2003-09-23 17:30
WVL

Registered: Mar 2002
Posts: 902
oh! btw I need some help :)

anybody have a good FAST AND ACCURATE way of dividing a 24 bit integer with a 8 bit integer? I want a 24 bit result..

8bit/8bit would also be ok, as long as the result is 16 bit..
2003-09-23 18:37
Steppe

Registered: Jan 2002
Posts: 1510
Good work, Werner, keep it up! I'm following every single step forward and have a peek at all your previews, can't wait too see the final game! :-)
2003-09-24 08:25
WVL

Registered: Mar 2002
Posts: 902
forget about the divide-request, I found a good way to change the calculation, I don't need it anymore.. made some advances in adding ballspin also... hopefully I can get the complete ball-reflection thing going this week, after which I'll add the spin-code to the source..
2003-09-24 10:09
CreaMD

Registered: Dec 2001
Posts: 3057
I've downloaded the latest preview but probly I'm too "slow" to understand how to interact with it. I only saw the ball rolling and none of the keys worked for me. Anyway keep writing progress updates here, it's interesting read.

roman

2003-09-24 10:24
WVL

Registered: Mar 2002
Posts: 902
the keys are only read from the keyboard. You can see in the upper right corner if they are read or not. Just a tech-example ;-) Maybe there'll be a version with graphical clipping & bouncing this weekend.. right now the only way to interact with it is to use the joystick, can't remember what port... if you press fire, you can move to ball to any new position (I use this myself to debug the thing ;-))
2003-10-08 10:06
WVL

Registered: Mar 2002
Posts: 902
Removed a couple of MAJOR bugs from the sourcecode this week :) I mean _MAJOR_.. I couldn't believe it when I found them.. (ofcourse they were only stupid mistakes.. but alas..) This week I'll probably try to speed up the code a bit, already thought of a couple of ways. The wall-bouncing code is now about 90% ready, and is starting to look really good!!

Also a request : if someone has information about what happened to Jailbird, please let me know!
2003-10-08 13:25
WVL

Registered: Mar 2002
Posts: 902
Just removed even more bugs.. incredible how they manage to come out of nowhere :)

for your pleasure :

www.interstyles.nl/MAIN2.PRG a new preview, this time with some music and a wall! ;-)

www.interstyles.nl/MAIN.TXT the newest version of the sourcecode...

about this preview : do not bother yourself about how the ball 'hits' the edges of the wall (upperleft,upperright,etc..), this is caused by some table not being correct and me too lazy to fix it.. it's not an error of the code!

small edit : in case you were all wondering why the ball is attracted to the middle of the screen : this is easier for me to test, otherwise the ball would always drop off the screen :)
2003-10-08 14:00
CreaMD

Registered: Dec 2001
Posts: 3057
Cool!
2003-10-09 14:52
Richard

Registered: Dec 2001
Posts: 621
I hope your game goes well! :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 18 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
t0m3000/hf^boom!^ibx
Mythus/Delysid
Copyfault/Extend^tsn..
chancer
kbs/Pht/Lxt
Walt/Bonzai
Mike
Mason/Unicess
katon/Lepsi De
Freeze/Blazon
Magic/Nah-Kolor
crayon/Hokuto Force
MWR/Visdom
Thierry
Steffan/BOOM!
MCM/ONSLAUGHT
iAN CooG/HVSC
Korodny
Guests online: 130
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.168 sec.