Posted: 6th Jan 2015 5:05
5. Would LOVE built in, optimized function for doing things like rotating one 3D object around another and sticking one item to another at a given point such that the child inherits the parent rotation and translation.


Mmm, hierarchical 3D would be awesome Potentially confusing for noobs to programming (speaking from experience), but awesome for experienced programmers
Posted: 6th Jan 2015 9:55
5. Would LOVE built in, optimized function for doing things like rotating one 3D object around another and sticking one item to another at a given point such that the child inherits the parent rotation and translation.

Sounds like EZrotate
Posted: 6th Jan 2015 17:01
Rather than a single "clear color" it would be cool to be able to stipulate a "clear gradient" and have AppGameKit create it in a processor efficient way. Just thinking that currently I'm using big sprites to simply create a gradient backdrop and I'm sure that there is a more processor efficient way to do it at a lower level (hitting the metal!) than in Tier1!
Posted: 6th Jan 2015 21:00
Immersive/Fullscreen Mode for Android would be great. For AppGameKit V1 too. It would look like much better without black navigation bar.
Posted: 7th Jan 2015 0:01
An execute command for opening files on Android would be awesome... like being able to open a .PDF file through Adobe Reader.
Posted: 7th Jan 2015 0:12
i am guessing right now all the ability of AppGameKit are built in ?

(as in there is not out side file loaded to do a function )
Posted: 7th Jan 2015 14:19
I don't know if this is possible but It would be nice if I could declare and implement functions with the same name but with different arguments
ie:
+ Code Snippet
getDistance(x as integer, y as integer)


and

+ Code Snippet
getDistance(x as integer, y as integer, z as integer)
Posted: 7th Jan 2015 16:00
Happy Christmas, George!

Function Overloading is an Object Orientated thing, and not possible in the non-OOP world of AppGameKit, unfortunately.

I suggest using very close naming like GetDistance2D() and GetDistance3D()
Posted: 7th Jan 2015 19:36
Happy Christmas Jim!
Because I am a c++ guy, I always missing some OOP features when programming in AppGameKit
Anyway thanks for the tip!
Posted: 8th Jan 2015 6:50
@ george++
I like that idea a lot. I would personally like to see this feature as well. If this were implemented, I would like there to be a method to turn the feature ON or OFF though (think "option_explicit#"). I wouldn't want to ACCIDENTALLY duplicate a function without the compiler throwing an error. That could become a debugging nightmare fast!
Posted: 8th Jan 2015 13:50
Function overloading would not be impossible in Tier 1 surely? If it's possible in all of the native languages then it should be possible for the compiler to detect and compile it.

I do think that function overloading would be nice but it's a long way down my list. I'd rather have a full set of commands for Box2D and Spine first personally.
Posted: 8th Jan 2015 15:14
Yes - but like proper OOP it would need some serious compiler changes.
Posted: 9th Jan 2015 22:30
mono support and c# in tier 1
ability to add languages
like vbscript simular to unity3d http://unity3d.com
Posted: 10th Jan 2015 0:18
ike vbscript simular to unity3d http://unity3d.com


lol yeah right!
Posted: 13th Jan 2015 11:24
I would like better bitmap features like DBPro to take away all the hard work of having to use memblock away.
Eg to test a pixel on a loaded image for its colour value, command should be
Point (x,y)
also better displaying of bitmap to use as background images instead of converting to large sprite, just something like
DisplayImage (imID, screen)
with screen being the back buffer or something.

If there is an easy way to do this already then sorry but I am new to AGK.

Thanks
Posted: 14th Jan 2015 14:12
I haven't read through the entire thread (sorry), but I'd like to see standalone Windows executables. With or without embedded media. Doesn't have to be anything fancy. I'd expect it would be simple to append the bytecode to the existing player, and instead of opening a seperate bytecode file, it could just fseek to the start of the bytecode in the exe.
Posted: 14th Jan 2015 18:14
@CJB

it dose make a windows exe but as far seen there is no way of embedding the media in the exe at this point
Posted: 15th Jan 2015 22:30
A 3D version of the great particle system would be great...
For me it's very important!

So plz add 3D Particle System.
Posted: 16th Jan 2015 18:04
Feature request: Pass variables as reference to functions

Since we are now able to pass types and arrays as reference to functions it would be great if we also could pass variables as reference to functions. It would solve the problem with functions only returning one variable and make our functions more modular.

It could work something like this:
+ Code Snippet
// it would be great if the following commands would work
SwapInt( variableA, variableB )

SwapInt( something.a, someting.b )

SwapInt( array[1,2], array[2,1] )

SwapInt( array[1,1].a, array[1,1].b )

// function that swaps the value of two variables
function SwapInt( a ref as integer, b ref as integer )
	
	tmp as integer
	
	tmp = a
	a = b
	b = tmp
	
endfunction
Posted: 16th Jan 2015 18:57
You can do it. Just declare a type:

type MyInt
ival as integer
endtype

Function Swap(a ref as MyInt, b ref as MyInt)
temp as integer

temp = a.ival
a.ival = b.ival
b.ival = temp
endfunction

x as MyInt
y as Myint

x.ival = 24
y.ival = 97

Swap(x,y)