Latest Uploads
Mutant Mon ... (Blitz3D)

steve_ancell

Mutant Mon ... r package.

steve_ancell

image-13-0 ... -01-38.jpg

Jayenkai

Mutant Monty Remake

steve_ancell

hai.jpg

CodersRule

SillyAddition.png

Jayenkai

Forum Home

[seemingly] Random MAV?

UserMessage
Posted : Thursday, 31 July 2008, 12:41 | Permalink | Mark Here
spinal


[backstory]
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|

-----

3DS - 1762-2660-3218
Posted : Thursday, 31 July 2008, 13:54 | Permalink | Mark Here
mindstorm8191


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
Posted : Thursday, 31 July 2008, 13:57 | Permalink | Mark Here
Jayenkai


WW Entries : 103
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..

-----
Posted : Thursday, 31 July 2008, 14:20 | Permalink | Mark Here
Eikon


WW Entries : 7
Example of pre loading rotations:
eiksoft.com/eik/articles/arrow.txt
Posted : Thursday, 31 July 2008, 14:44 | Permalink | Mark Here
spinal


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

-->

-----

3DS - 1762-2660-3218
Posted : Thursday, 31 July 2008, 16:09 | Permalink | Mark Here
steve_ancell


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 ?.
Posted : Thursday, 31 July 2008, 16:14 | Permalink | Mark Here
spinal


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

-----

3DS - 1762-2660-3218
Posted : Friday, 01 August 2008, 00:14 | Permalink | Mark Here
shroom_monk


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, 07:01 | Permalink | Mark Here
steve_ancell


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.
Posted : Thursday, 05 January 2012, 10:21 | Permalink | Mark Here
spinal


Mildly related to the above...

File -- why does this jitter so much?

-----

3DS - 1762-2660-3218
Posted : Thursday, 05 January 2012, 13:27 | Permalink | Mark Here
Afr0


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.
</offtopic>

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!
Posted : Thursday, 05 January 2012, 14:57 | Permalink | Mark Here
Jayenkai


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


-----
Posted : Friday, 06 January 2012, 01:55 | Permalink | Mark Here
spinal


Forget the jittering, reuploaded...

Title

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

-----

3DS - 1762-2660-3218
Latest Posts
Mutant Monty update.
steve_ancell Wed 09:41
Android Dev Test Doohickey
Jayenkai Tue 09:58
Aminal Xing Knew Leef
Jayenkai Tue 04:25
Spark
dna Mon 17:24
HoboTile
steve_ancell Sun 10:07
Hoover
steve_ancell Sat 21:53
Scrabble Rabble
Jayenkai Fri 08:13
Not Fit for Purpose
Jayenkai Thu 20:29
Happy Birthday, Krakatomato
steve_ancell Thu 18:03
How Deep is Your Code?
Hotshot Thu 14:35
More

Latest Items
Blog : Snow Worklog
Cower Mon 12:23
Dev-Diary : Mutant Monty: Amstrad CPC to Windows conversion
steve_ancell Sat 19:12
Showcase : MLG : Microscopic Lifeform Genocide
rockford Wed 09:24
News : Newsletter #176
Jayenkai Sat 04:49
News : Newsletter #175
Dabz Tue 09:38
Blog : Snow: More Material Junk
Cower Sat 23:17
Techy : AppleTV
Jayenkai Thu 09:40
Blog : Graphviz
steve_ancell Sat 14:17
Pets : Top-Down Shadow Hack
Jayenkai Tue 05:52
Snippet : JNKrunch v1.0
Jayenkai Sat 07:20
News : Newsletter #173
waroffice Fri 04:47
Blog : Material Loading
Cower Fri 02:08
Pets : I Done Won A Thing
shroom_monk Sun 11:31
Pets : Repurposing A Lexer
Cower Mon 22:06
Bah : Feeling a Little Angry
spinal Mon 11:26
More

Who's Online
CodersRule
Wed, at 23:23
Dabz
Wed, at 22:34
Evil Roy Ferguson
Wed, at 21:24
dna
Wed, at 20:23
therevillsgames
Wed, at 20:19
steve_ancell
Wed, at 19:36
Jayenkai
Wed, at 18:28
9572AD
Wed, at 17:04
HoboBen
Wed, at 15:50
Stealth
Wed, at 15:41
Link to this page
Site : Jayenkai 2006-Infinity |
MudChat's origins, BBCode's former life, Image Scaler.