Please login or register.

Login with username, password and session length
Advanced search  


Created for developers of all Amiga camps

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.

Topics - tolkien

Pages: [1]
« on: November 05, 2015, 02:25:42 PM »
Hello mates.
I'm here again with a question. i have searched al the web without succesful. I want to create a MUI window with various tabs in it.
Can anyone shows to me a simple example?
Thanks in advance.

GUI - Magic User Interface (MUI) / open asl when button is pressed
« on: July 14, 2015, 12:21:25 AM »
Easy question and perhaps easy answer but MUI can be confusing at first.
Which method do I have to use to launch an asl object when I press a button?
Thanks mates.

AmigaOS 3.x Dev / load gfx in my game
« on: February 19, 2015, 10:17:08 PM »
I am trying to port muy little sdl functions to amigos api.
I want lo load the game gfx and I have no idea what is the best option.
Do I use iff.library or similar library? Use datatypes.library? Convert the gfx to c code and insert it in my code?
Help mates! ;)

Game Development / Playing mod and samples
« on: January 13, 2015, 12:10:02 AM »
I'm doing a little game in C (really little one) and It's time to add music and soundfx. My idea is to play a three channel mod and 1 channel for soundFx.
Which is the best way to do it? Audio.device? AhI? ptplay.library? I have no idea what to do.

Languages / malloc strutcs
« on: September 04, 2014, 10:05:06 PM »
Hi friends.

I have a function which reserve memory for a certain number of structs.

Code: [Select]
objects* add_object(int num_objects)
objects *temp;
temp = (objects*)malloc( sizeof(objects) * num_objects );
if (temp == NULL ) return NULL;
return temp;

objects is a typedef of a struct.

The problem is when I want to use the returned pointer.
Lets say I reserve memory for 3 structs:

Code: [Select]
objects*  myobject = add_object( 3 );
Now, If I want to use the second object I have to refer to It as myobject+1. Why cant I do myobject[1] as with other kind of arrays?

Excuse if is a really silly question.

Game Development / more about timing
« on: October 08, 2013, 12:18:51 PM »
How people do to sync events in games and demos?
I think I need a timmer and when certain time is reached trigger the event but I have no idea.

Can you explain please?

Game Development / variable vs fixed frame rate
« on: October 08, 2013, 12:09:57 PM »
Trying to understand various ways of doing the same I  have a question.
I always do my stuff within one vblank(well I try) but this thing with delta timming is interesting.

But what are they cons and pros? It is a good idea in classic use variable frame rate or is better use fixed one?

Bring me some light.

Standard Libraries / struct libbase or struct library
« on: August 02, 2013, 01:51:23 PM »
Here I go again.

While learning MUI when I had to open mui library O had to do struct Library *muibase instead of the tipical struct libbase *libbase...
Why? Does It happends with other libraries?
I hope you understand cos my English is terrible and writing with a smartphone.

Thanks mates.

Languages / Silly C include question
« on: August 02, 2013, 01:42:39 PM »
Hello friends.

In my slow progress of understanding amiga C programming(I have a numorous family so really I have no time) I
I get confused again.

Why on hell are there so many includes? Inline, pragmas, clib, protos, libraries...and I think some of them are compiler specific? Can you give me any light?

Thanks in advance.

MUI/ZUNE / Simplest MUI example
« on: July 28, 2013, 10:39:28 PM »
Im trying to program with MUI and although I understand its basics Im a bit confused.
Can anyone write to me the simplest MUI example that open a window. With no text in the window, no buttons...nothing.

Thanks mates.

AmigaOS 3.x Dev / clear window
« on: May 18, 2013, 11:48:36 PM »
Hiz mates.
In my learning curve about AmigaOs programming Im trying to do some gfx in windows but I dont know how to clear its contest. Im using RectFill() but have no idea if Its correct.
And, its possible to use double buffer in a window?

Yes, they are noob questions but Im really noob! ;)

Development Tools / Port GOLDED.1 not available!
« on: May 15, 2013, 11:43:18 PM »
I have an AmigaForever setup with CubicIDE to test my programs and now I have update AF. The problem is that Im unable to compile with CubicIDE now.
SnoopDos says the cant findport GOLDED.1 but I dont know how to resolve. Any idea friends?

Pages: [1]