Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ketil

#61
Quote from: MrTAToad on 2010-Nov-02
The only way I can think of its to create (and keep a screen) of the sprite in memory, and manipulate that as appropriate.

If you want to position a background then you need to use a sprite - LOADBMP positions at 0,0

Yeah. Thats just what i've done. Quit slow, but ... thats the way it have to be. At least for now.
A function like SETBMP X,Y would be nice for backgrounds larger than the screen.
#62
I actually have two questions.
I have slow solutions for both, but faster in nicer ... right  :)

1. What would you consider the best way for fast drawing on sprite surfaces ?
Maybe there is a way of getting pointers to the surfaces in inline c++ ?

2. Is there a way to reposition the background when using loadbmp ?
It would be be nice with a function like setbmp x,y (using the loaded bitmap).
I quess i'll use a sprite for background, but then there is the limits of the spritesizes ( 1000x1000 ? isn't it ? ).
#63
Quote from: ampos on 2010-Oct-29
We together will be "the company" with me as the "director" and maker of one if the games.

One of the most important things starting up an company is right persons for the right positions.
As the "director", you should start by summing up your earlier work experiences.
It seems like there are some people here with experience in the game industry, so this might work out.
Another very important factor you should write a little about is the amounts of stocks for each shareholder and how you inted to set a price on the game-ideas.
#64
Unfortunately QT will not be a good alternative for iPhone/iPad for now.
That due to Apples IDIOTIC  :puke: policy about static linking.
#65
Quote from: Kitty Hello on 2010-Oct-28
Nah. Just the big ones. Win32, Mac, Linux. It *might* work on CE, but I'm uncertain.
Thing is, it has lots of real nice widgets and the native look... For those who don't like DDgui (sniff, sigh)

Maybe not :)

Already supported by Nokia
Embedded Linux, Mac OSX, Windows, Linux/X11, Windows Mobile, Windows CE, Symbian (Also in QT Creator), Maemo and MeeGo
http://qt.nokia.com/products/platform

iPhone
http://www.qt-iphone.com/Introduction.html

QT on Gp2x and Pandora
http://www.gp32x.com/board/index.php?/topic/50030-qt-on-pandora-a-reality/
http://wiki.gp2x.org/wiki/Qtopia

Possible future platforms ?

Android
http://tamss60.tamoggemon.com/2010/03/18/qt-on-android-the-bogdan-vatra-interview/
#66
Well ... why not start with an implementation of CLEARSCREEN -1 ?
#67
Quote from: ampos on 2010-Oct-22
usescreen -2 to draw directly in frontbuffer

If I am not entirely wrong, a direct draw to the front-buffer would generate flickering if the gpu isn't vsynced ?

But CLEARSCREEN -1  :good:

That one is VERY important imho.

It wold boost the speed in both our projects.
#68
Off Topic / Re: Linux editor
2010-Oct-25
I have worked alot on big business systems in Java, and I would NEVER consider Java for such a task.
There will be nothing but trouble for the support team when this ide would be run on X number of machines and OS'es.

I think that even Mono is better is a better choise than Java.

But ... as I said earlier: QT IS KING, and QT Creator (VERY good IDE) is opensource.

Consider this:

C++ is the underlaying language of QT Creator as it is on GLB .
It already has perfect codehilightning system and help system.
You could also easily make a QT wrapper for widgets.
QT Creator has it's own plugin system.
QT and QT Creator is also COMPATIBLE WITH SYMBIAN  :good:

Take the "QT Creator" for a testride and check out all the goodies.


#69
Off Topic / Re: Linux editor
2010-Oct-22
In my opinion, web based editors are only great in theory.
#70
Quote from: bigsofty on 2010-Oct-04
Hey Ketil,

How difficult was it to get Hekkus working with GLB?

Cheers,


Ian

Not as easy as i thought.
It was a bit of work, but nothing difficult.
If i get permission from my company, i don't mind sharing the wrapper.
#71
I have also had problems with PLAYMUSIC (working on some windows installations, but not others).
For now i am using Hekkus Sound System for audiohandling ( great cross platfom compatibility ).
A good advice in commercial apps is to use OGG and not MP3 as MP3 licensing is a problem  :puke:
btw. Hekkus also supports .xm and .mod  =D
#72
Is it the readtrack and readnote functions you are referring to ?
Other io functions in this code might also fail on some systems since it's not handeling endianess (checking big-/little- endian).
#73
Off Topic / Re: Linux editor
2010-Sep-25
Quote from: MrTAToad on 2010-Sep-23
Would you be able to get a (basic) Linux version of GPC going ?  I'm writing a (linux) editor (using DDgui), and aside from needing to find an XML system that works better than mine, it would be handy to see if I can get the Linux program to compile on Linux, for Linux...

It wont be able to do a lot of things, like code folding, code completion etc - the idea is to be able to load, save, compile and run on Linux.

There are some XML libraries for FreeBasic (www.freebasic.net).
Those should be quick to port.
#74
Off Topic / Re: Linux editor
2010-Sep-17
Why not make such an editor in QT4 using QT creator (maybe even use the opensource QT Creator as an foundation).
QT-script for plugins  :)

You could compile the editor to all QT supported OSes.
#75
Also ...

Space for this variable (temp%) is statically allocated by the compiler, and not dynamically by runtime.
The object is therefore actually not destroyed.
The speed of the code should be the same as if it's decleared outside the loop as LOCAL.