-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|351|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> AGAWFrame

Page : 1 2 3 Prev 4 5 Next 6 7 8 9
Posted : Monday, 30 October 2017, 03:49
Pakz
Works here on the Amd a8, 8gb ddr3rl, windows 10 laptop.
Posted : Monday, 30 October 2017, 05:27
rskgames
Worked fine. Screenshot worked. Keys up and down changed the logo and keys z to n increased the size of the zig zag moving sprites.

-=-=-

Posted : Monday, 30 October 2017, 05:32
Jayenkai
\o/yeay\o/
Today I’m having to deal with OpenGL co-ords, vs Screen co-ords, vs Virtual Screen co-ords!
Quite a bit of maths, I can tell you..

Virtual screen = 640x480
Actual screen = Any size/ratio
OpenGL viewport = -1.0 To 1.0
Have to convert to one, then the other.
.. and the mouse needs to work, too..

Eek!!

-=-=-
''Load, Next List!''
Posted : Monday, 30 October 2017, 09:28
rockford
Yep, that worked great for me too
Posted : Monday, 30 October 2017, 10:31
Jayenkai


Bitmap Fonts!
And things are now being drawn from 0->640, instead of -1.0->1.0
Loads and loads of maths to figure that lot out...

-=-=-
''Load, Next List!''
Posted : Monday, 30 October 2017, 10:49
rockford
Are you going to make this framework available, or is it just for personal use?
Posted : Monday, 30 October 2017, 11:00
Jayenkai
Not sure, yet..
... it’s very Jay-Code
Posted : Monday, 30 October 2017, 14:11
Jayenkai


Some much needed sprite rotation and colour settings.

-=-=-
''Load, Next List!''
Posted : Monday, 30 October 2017, 14:25
rockford

Posted : Monday, 30 October 2017, 18:28
steve_ancell
Works great on my rig Jay.
Posted : Monday, 30 October 2017, 20:26
therevillsgames
Just test AGAW_004_Getting_Hefty here at work, works fine.

i5 650 @ 3.2GHz
8.00GB
Intel HD GPU

I did notice that the logic continues but doesnt render if you click and hold the title bar. Also when resizing I get these log statements:
00000008> Loading
Requested image: Data/550/AGAWLogo.png
Loaded Image @ 1024
000000009> Loading
000000010> Loading
000000011> Loading

So its reloading the graphics every time you resizing the window?
Posted : Tuesday, 31 October 2017, 02:19
Jayenkai
Yeah, when it spots a resize, it triggers a reload.
This is something I've done in all my frameworks since approximately BlitzMax, (or maybe it was as far back as Blitz2D?!) because that had a tendency to "forget" things when you switched between fullscreen and windowed. As such, I've learned to do a reload all the bloomin' time.
I'll be stress testing this, and if it isn't necessary then I'll get rid.. ... But I like to be sure about these things, and have the pieces in place whenever I DO need them!

-=-=-
''Load, Next List!''
Posted : Tuesday, 31 October 2017, 04:00
Jayenkai
MinGW likes "int Command(int a, int b=1) {return a+b;}"
XCode dislikes "int Command(int a, int b=1) {return a+b;}"
XCode prefers overloads.
XCode prefers a fucking mess.

.. This is yet another "The core language is fundamentally different" issue I'm having with all the various different C++'s that aren't all C++'s, and are all completely sodding different languages...

-=-=-
''Load, Next List!''
Posted : Tuesday, 31 October 2017, 04:30
Dabz
Your right, half the time I dont think C++ is standardised at all...

Take #pragma once, that's a lovely little thing, not standard so if you are thinking of moving code about, it's best to keep clear and just use #ifndef... The language is full of silly little things like that, and this is what happens when companies create their own "versions"... They fuck the whole show up really!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Posted : Tuesday, 31 October 2017, 04:32
Jayenkai
And to think, I once complained about the change in structure from Blitz3D to BlitzMax, and then again to Monkey-X. At least they didn't claim to be the same thing!

.. Anyhoo, back to the Framework.
Started Input stuff, today.
OpenGL GLFW3 seems to have a lot of the necessary stuff internally, so I'll no doubt be doing a lot of rewriting of the input stuff depending on the different targets.
But as far as the Win edition goes, there's now Keyboard, Mouse and the basics of Joy input.
I'm going to have to test the input with my usual 3 test devices, though. X360 pad is working, but PS3 pad is untested, as is Competition Pro stick!!

Oh, and the Mouse is currently unscaled..

*sigh* Taken ages getting this working as much as I have, and I've oodles to do to get it fully working, and then working elsewhere.
.. Grrr..
Why can't input be easier!?!

-=-=-
''Load, Next List!''
Posted : Tuesday, 31 October 2017, 05:37
Jayenkai
Biggest addition.. F11 for fullscreen!!



Assuming that takes the current desktop resolution, but honestly haven't got a fucking clue..
I don't think I'll be fucking about with a resolution option, after all I didn't with my Monkey framework and nobody ever complained!

Gamepad support is minimal, but should at the very least do something.

Current test build.

-=-=-
''Load, Next List!''
Posted : Tuesday, 31 October 2017, 06:45
Dabz
Yep... Okay here... F11 works as expected, Xbox controller works, makes the logo a different size, as well as the buttons add more sprites!

Yeah, looking good!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Posted : Wednesday, 01 November 2017, 03:33
Pakz
F11 works here also. A whole FHD filled screen.

Used the old msi nvidia 740m laptop
Posted : Wednesday, 01 November 2017, 06:36
Jayenkai
This morning's code session. AGameAWeek blog post.

-=-=-
''Load, Next List!''
Posted : Wednesday, 01 November 2017, 13:10
Jayenkai


Hmm.. Getting that weird "Not quite right" skew again, when using two tris to draw a 4-point quad.
Any thoughts?

-=-=-
''Load, Next List!''
Posted : Thursday, 02 November 2017, 02:22
rockford
This happens in GLBasic with the POLYVECTOR commands - it's due to a lack of Z ordering (perspective correction/depth sorting, as it's strictly a 2D image) IIRC, if you are trying to skew/rotate it in 3D; on a flat plain it works a treat.
Posted : Thursday, 02 November 2017, 05:21
Jayenkai
Makes sense, but makes everything much harder to code for 2D sprites!!!
Bah, humbug!!

-=-=-
''Load, Next List!''
Posted : Thursday, 02 November 2017, 07:49
HoboBen
If its a "fake 3D effect in 2D perspective" it looks to me like the texture UV coordinates are off?

-=-=-

Posted : Thursday, 02 November 2017, 14:10
Jayenkai


Started work on Audio, today.
That took sodding ages!!!

It isn't actually doing anything, yet, but hopefully it's a good starting point.
*fingers crossed*

-=-=-
''Load, Next List!''
Posted : Friday, 03 November 2017, 12:16
Jayenkai
Yeah, this isn’t going well.

One "this definitely works" Example I’ve found uses none-Standard file access functions, which the user coded himself and hasn’t posted online.
So, geeze, thanks for posting that code...

Fuck sake.

-=-=-
''Load, Next List!''
Page : 1 2 3 Prev 4 5 Next 6 7 8 9