Dev blog, moo.

Posted by Scott_AW on Jan. 15, 2010, 8:15 p.m.

Cow RPG, state of conversion.

So thats the junk I got on my screen while I work. Yes I use calculator.

Task manager has been my friend for many reasons, for a long time. One of course is being able to monitor CPU consumption and memory usage. Its very useful in knowing whether your code is inefficient, and when you try and improve it, whether or not it was successful.

At first I was having all objects(graphics atm) draw with one function, contained in one array. This would be fine but it did put twice the strain on the CPU, and if I'm looking to develope for a portable device, its something I need to pay attention to.

So to fix this issue, I simply seperated it into foreground object and background objects. Background objects are simpler, drawn only when scrolling is effective and only when scrolling exceeds the overdraw amount. Overdrawing the background a little allows for smoother scrolling in general.

Things that have been done so far:

Graphic indexes assigned, and a method for loading/unloading graphic data to maintain memory.

Sprite based font system, that uses an array to check characters and place the proper icon. I only use 72 characters, symbols, numbers, upper/lower letters. To allow for beginning and end qoutes, and since you can't really put a qoute in a qoute, I replaced them with <>'s.

Basic graphic engine, in progress…

Setups for rountines and functions I need to flesh out.

Majority of game variables and types are done.

Although I only manage a few hours a day at the most, it has been moving along. With reference data and graphics from my Mo Mini's version, I don't have to deal with content as much, except with some modifications to system graphics.

Able to use transparent png, so that helps for smoother looking outlines, although I'm not certain on alpha effects. So far it doesn't seem like I can use them as much, but still have the use of additive and subtractive blending.

A nice feature in GLBasic is that the blending is contained entirely in the alpha setting. 0 = opaque, 1 = fully transparent, 2 = additive blending and -1 = subtractive blending. I haven't played with this too much yet, but I imagine you can do some interesting things with it. Sure GM had a lot of different blending modes, but I could never find much use for most of them.

Comments

Quietus 14 years, 10 months ago

all i got from this blog was "ew Windows 98 layout"

Scott_AW 14 years, 10 months ago

Thats because I always set my desktop to classic. And I only use XP and 2k. Enjoy your vista/7 sucking up your resources for no good reason and their lower performance in 3d processing.

Castypher 14 years, 10 months ago

I hear ya. I do the exact same.

Juju 14 years, 10 months ago

Hmm maybe I should grab a crack for GLBasic.

Kaz 14 years, 10 months ago

Quote:
Enjoy your vista/7 sucking up your resources for no good reason and their lower performance in 3d processing.
Actually Windows 7 uses nearly the same resources as XP so that's not an argument.

http://www.pcmag.com/article2/0,2817,2355703,00.asp

http://www.techradar.com/news/software/operating-systems/windows-compared-windows-7-vs-vista-vs-xp-615167?artc_pg=8

Of course, if you use a dinosaur as a PC, obviously XP will run better.

ATOGAMES 14 years, 10 months ago

These comments get one sided so fast.

Glbasic is cool but I got tired of using basic anything after doing so since I was twelve.

Josea 14 years, 10 months ago

Quote:
Thats because I always set my desktop to classic. And I only use XP and 2k. Enjoy your vista/7 sucking up your resources for no good reason and their lower performance in 3d processing
In a modern computer there's absolutely no reason to run XP or older, so I guess you have a very old computer.

Castypher 14 years, 10 months ago

Eh. Most or many schools still use XP. It's the most stable operating system, they say. Vista still sucks (don't argue with me over it, I still USE Vista), and Windows 7 is too new (not guaranteed bug-free, to my knowledge).

It should be pretty obvious why many people prefer XP.

Josea 14 years, 10 months ago

Quote:
Eh. Most or many schools still use XP. It's the most stable operating system, they say. Vista still sucks (don't argue with me over it, I still USE Vista), and Windows 7 is too new (not guaranteed bug-free, to my knowledge).

It should be pretty obvious why many people prefer XP.
Stable my ass. I manage 3 labs at my uni (dual booting linux/XP). XP is always the one with random errors and explosions.

The reason we have it is because, eh, our computers wouldn't be able to run Vista/7 as smooth as we'd like, and upgrading Windows would involve the uni buying new licenses (And uni's been short on cash lately)

Castypher 14 years, 10 months ago

I haven't seen any XP explosions in…years.

What the hell are they doing to their files?