Latest Uploads
Sample Bio ... ph Fractal


Biomorph Fractals




Rpg items


Duck Invaders


Smaller Scar?


Forum Home

[seemingly] Random MAV?

Posted : Thursday, 31 July 2008, 13:41 | Permalink

Jay's B&W entry a couple of weaks ago got me thinking about that mouse-string code i posted a while ago, so i started tweaking it a bit. Upon Jay's suggestion, i have added actual 'body' segments instead of a simple line, creating a sort of caterpillar. Anyhow, i had a quick attempt at rotating the images (im planning on adding legs) but i keep randomly getting a MAV on the RotateImage line. Can anyone have a go at explaining the problem to me, it seems totally random, just leave the thing sitting in the middle of the screen for a while and 'ding!' MAV!.


|edit| I cant spell and im not allowed to change the title |edit|

Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage :
Posted : Thursday, 31 July 2008, 14:54 | Permalink

You should try outputting the values you're feeding into the RotateImage command, before you execute it, plus the size of the image. You can send it either to file or debuglog. Then the last value will be what caused the error, or proof that there is something wrong with the command.

Vesuvius web game
Homepage :
Posted : Thursday, 31 July 2008, 14:57 | Permalink

WW Entries : 106
The line "gfxTemp=CopyImage(body_part)" creates a copy of the image..
The line "" doesn't get rid of it again..
Just keeps copying and copying, and using more and more memory!

"FreeImage gfxTemp" at the bottom of the clump would free things up.

But, a better way to do it would be to pre-rotate (say) 64 rotations, and just use those instead of constantly re-rotating them..

"Load, Next List!"
Homepage :
Posted : Thursday, 31 July 2008, 15:20 | Permalink

WW Entries : 7
Example of pre loading rotations:
Homepage :
Posted : Thursday, 31 July 2008, 15:44 | Permalink

thanks guys, it works fin using pre-rotated segments.


Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage :
Posted : Thursday, 31 July 2008, 17:09 | Permalink

Spinal, both of your programs on this thread seem to be working OK on my computer.

BTW... That looks fun, what are you making Bud ?.
Homepage :
Posted : Thursday, 31 July 2008, 17:14 | Permalink

Porbably some sort of snake type game, might end up being nothing, like a lot of my ideas.

Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage :
Posted : Friday, 01 August 2008, 01:14 | Permalink

WW Entries : 8
"steve_ancell" Spinal, both of your programs on this thread seem to be working OK on my computer.

Well, given what Jay said, maybe your computer has enough memory not to run out of space... or you just didn't run it for long enough to run out of memory...

A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Posted : Friday, 01 August 2008, 08:01 | Permalink

Hmmm, good point. Well spotted Shroom .

I had it running for about 2 minutes, and I have 512 MB RAM. I take it that 2 minutes is not long enough.
Homepage :
Posted : Thursday, 05 January 2012, 10:21 | Permalink

Mildly related to the above...

File -- why does this jitter so much?

Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage :
Posted : Thursday, 05 January 2012, 13:27 | Permalink

WW Entries : 3
Completely offtopic, but... this is why I'm glad I'm doing a large project right now.
Obviously I've attempted large projects in the past, but the neat thing about the project I'm doing now is that it already comes with tons of data to work with, so I don't have to make that myself or define the format of it.
And since there's sooo much data, and so many formats, there's always something to do, meaning that if I get tired of doing something I can do something else and still work on the project!
For instance, a little over a week ago I had managed to get 3D-rendering working within the client, but somehow it borked the CAS screen so that now nothing can be selected whilst a head is rendering. After spending a day looking through the Lua-scripts and fixing some unrelated bugs in the process, I got tired of bug-hunting and decided it was time to start writing the patch-client.
I spent a couple of days figuring out how to skin a .NET application without using WPF (... XAML >_<), and yesterday I tried loading the animation format. It didn't work out too well, so I scrapped my code and wrote code for loading HAGs (HAndGroup) instead. Now hands and heads can be rendered inside TSO MeshViewer. As I write this I'm in the process of extending TSO MeshViewer's interface so that multiple appearances that are linked to by HAGs and POs (Purchasable Objects) can be viewed when a file is selected.

Edit: And yesterday I couldn't sleep, so I laid in my bed going through the code given to me by a developer that shall remain nameless, figuring out which functions needed to be ported in order to display bodymeshes.

Afr0 Games

Project Dollhouse on Github - Please fork!
Homepage :
Posted : Thursday, 05 January 2012, 14:57 | Permalink

WW Entries : 106
*sigh* I really need to get the upstairs PC working again..
I'll have a look at it in the morning, Spinal.

"Load, Next List!"
Homepage :
Posted : Friday, 06 January 2012, 01:55 | Permalink

Forget the jittering, reuploaded...


using a map now. However my scroll speed is all wrong, I'm a little out of practice, but from what I can tell, it should be right

Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage :
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 650|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Spinal's Search for Tech
steve_ancell Thu 02:12
NoSex in England
GfK Wed 15:22
Happy Birthday, Windows XP
Jayenkai Wed 08:40
What Have You Done? - Oct 2016
GfK Wed 08:21
GoPro Hero 4 Silver vs Nikon KeyMission 170
Jayenkai Wed 01:51
Rhythm Heaven Megamix
Kuron Wed 01:46
RIP - Bobby Vee
Kuron Wed 01:36
El Stompo
Jayenkai Tue 04:59
RIP - Pete Burns
Jayenkai Mon 18:55
Jayenkai Mon 16:40

Latest Items
Blog : Spilling my Noodles
steve_ancell Mon 13:38
Link : Character generators! :D
Afr0 Sun 07:58
Woot : Getting Noticed... for Gameboy Dev!
Afr0 Sat 17:17
Dev-Diary : 1st Ever Wed Workshop Progress
zzoom Thu 23:12
Showcase : Biomorph Fractals
Andy_A Wed 12:43
Snippet : Fisheye Lens Effect
Jayenkai Wed 11:50
Snippet : 2D Balls
Jayenkai Wed 06:22
Showcase : Mining Map AI Demo
Stealth Tue 19:41
Showcase : Biotic Limit - Games For Better (2 Days) Edition
rychan Mon 12:27
Dev-Diary : Intellivision Controller Adapter
spinal Sun 11:33
Snippet : Contour Map from Data
HoboBen Fri 18:14
Snippet : FPS Control (WASD+Mouse)
Pakz Wed 22:30
Article : Concurrency in C#
Afr0 Sun 12:28
News : Newsletter #281
HoboBen Fri 04:18
News : Newsletter #280
Jayenkai Sat 05:10

Who's Online
Thu, at 02:21
Thu, at 02:12
Thu, at 01:42
Thu, at 01:16
Thu, at 00:30
Wed, at 23:32
Wed, at 23:24
Wed, at 18:54
Wed, at 18:38
Wed, at 17:58
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.