123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|51|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Retro effects...

Thu, 15 Jan 2009, 05:07
spinal
I'm feeling a little retro today, so I've started putting together a couple of r retro gfx effects on my DS (yes I know this is a blitz topic) I'm looking for the sort of stuff you used to see in old demos (with source obviously), so far I have converted some blobby code to reveal an image, rather than draw some blobs, and good old fashioned plasma using palette rotation. If anyone has anything in their collection, please post it, the simple theb better (i will be converting these to C and i'm not very good at that).

Here is a wonderful screenshot of the two current effects.




-=-=-
Check out my excellent homepage!
Thu, 15 Jan 2009, 09:51
Phoenix
Well here's 2+ years old one. Haven't done any effect coding for ages so I don't really have any "collection".
Thu, 15 Jan 2009, 10:39
Jayenkai



-=-=-
''Load, Next List!''
Thu, 15 Jan 2009, 23:08
JL235
Can you post pictures?
Fri, 16 Jan 2009, 01:23
Jayenkai
Um, ok... But it's a bizarre scrambled picture that makes no sense! It works better when moving.



It's a typical "Mystify" swirling line thing, except the whole screen additionally shifts about like one of those old fashioned slider puzzles, whilst the Mystify carries on inside it's squares..
ie, it draws Mystify to a buffer, then copies squares of that buffer to where the shuffled grid's squares should be.




-=-=-
''Load, Next List!''
Fri, 16 Jan 2009, 07:33
shockwave
What about a twister?





-=-=-
https://www.dbfinteractive.com
Sat, 24 Jan 2009, 05:25
spinal
I just found this on a qbasic site, thought i'd share...



-=-=-
Check out my excellent homepage!
Sat, 24 Jan 2009, 06:55
Jayenkai
weeeeee! Now, just add sprites, and you've got yourself the Amiga vectorball edition

-=-=-
''Load, Next List!''
Sat, 24 Jan 2009, 07:53
spinal
nah... no Z ordering, see...



-=-=-
Check out my excellent homepage!
Sat, 24 Jan 2009, 14:58
Jayenkai
Aww.. Shame..
Sun, 25 Jan 2009, 18:32
JL235
Screenshots? Also if it's out of order, then why not order it? You could use a tree, an array of lists or even just add them all to a array/list and sort it on each frame.
Tue, 17 Feb 2009, 18:18
spinal
As a continuation of the thread, although for a different reason, I found some code for a dot tunnel done in Qbasic...



I had a (very) quick try to get it working in blitz, but it seems to leave a few gaps. I noticed one of the variables is declared as long in the qbasic code, can blitz do this?

If anyone gets bored enough, can they look at it? see what's not happening right and maybe fix it? I'm not going to pretend I know how it works or anything like that...


-=-=-
Check out my excellent homepage!
Sun, 08 Mar 2009, 10:22
spinal
ok, i got that dot tunnel working in blitz... now i cant get it working in c



c code...



-=-=-
Check out my excellent homepage!
Sun, 08 Mar 2009, 11:39
spinal
[double post, naughty me]
I know what the problem is.... but I have F-all idea how to fix it..

qbasic
DEG# = (1.74532925199433D-02 * 180#) / 128#
CV# = COS(A * DEG#) : REM Qbasic uses radians

blitz
DEG# = 1.45329 ; entirely guess work
CV# = COS(A * DEG#) ; Blitz uses degrees

C
float deg = ????????
CV# = COS(A * DEG) : DS uses ???


-=-=-
Check out my excellent homepage!
Sun, 08 Mar 2009, 12:29
Afr0
I'm guessing the DS uses either radians or vectors. I'm not sure if vectors are for angles though, maybe they're only for positions.

*shrugs*

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!