Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [STICKY] The Posting Competition

Author
Message
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 17th Sep 2015 07:17
Page? Did I hear page?

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 17th Sep 2015 07:46
I call paged memory! Dar13 gets page, but I get paged memory. High access speed FTW!
Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 17th Sep 2015 10:11
I've already called it. Read my last post.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 17th Sep 2015 12:44
Quote: "How in the world am I supposed to create save files then, if I can't directly write to a folder which is located IMMEDIATELY next to my game.exe?"


Create your ini files in the write folder, that's what AppGameKit wants you to do. Why do you want it next to your game.exe?

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
Yodaman Jer
User Banned
Posted: 17th Sep 2015 13:01 Edited at: 17th Sep 2015 13:21
Mostly so that the user can find it more easily, in case they need to change a setting or two manually.

Most games I've played usually have their settings files in a folder labeled "Data" or somesuch, which is usually in the game's containing folder. That's also how I programmed all of my games with DBP, Unity and even GameMaker.

I mean, I do understand that TGC are concerned about security and what-not, but why is it so over-complicated?

And also, when I do find it, it's encrypted. Pretty cool, except... how is the end-user supposed to modify something then?

I just get so frustrated with the little hiccups like this that AppGameKit seems to have.

Anyone try out Cocos2Dx? Looks interesting, but the amount of Engrish in the documentation makes my head hurt even more than AppGameKit haha.

EDIT: Wow even SetRawWtitePath still won't let me write to the folder that I have directly specified


Forum President until June 20th, 2016.
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 17th Sep 2015 14:04 Edited at: 17th Sep 2015 14:05
Quote: "have their settings files in a folder labeled "Data" or somesuch, which is usually in the game's containing folder. That's also how I programmed all of my games with DBP, Unity and even GameMaker.

I mean, I do understand that TGC are concerned about security and what-not, but why is it so over-complicated?

And also, when I do find it, it's encrypted. Pretty cool, except... how is the end-user supposed to modify something then?
"

It's because some platforms (like Android) designate areas for you to write to. If you were using T2 you could just use c++ file libraries.

Quote: "Create your ini files in the write folder, that's what AppGameKit wants you to do. Why do you want it next to your game.exe?"

This is indeed the correct solution. Don't worry about users needing to find the config next to your game, some games do that but not all of them. If you do need to let uses modify the config, just mention the location in your documentation.

Quote: "I mean, I do understand that TGC are concerned about security and what-not, but why is it so over-complicated? "

I don't think it's that complicated, but I do wish that they offered better file operation functionality. Particularly with reading off of the file system, which really isn't a security concern because the users' can access this data anyway, if they can't the operation should just return an error. If they're concerned about users doing malicious things with this data then 1. they shouldn't have released a version for c++ 2. that's the developer's problem not TGC's.

Quote: "EDIT: Wow even SetRawWtitePath still won't let me write to the folder that I have directly specified"

I wouldn't mess around with that function, it can make your code become very messy very quickly.

"Giraffe is soft, Gorilla is hard." - Phaelax
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 17th Sep 2015 14:41
Quote: "Anyone try out Cocos2Dx? Looks interesting, but the amount of Engrish in the documentation makes my head hurt even more than AppGameKit haha."


Yes. No comprehension occurred. I moved to Gameplay3D.

(This was when I'd just finished NeoParticle in AGK1 and realised some mobile devices couldn't disable clearing of the render buffer, making my game pointless. I had to find another C++ engine to port it to, and first tried Cocos2Dx. It's horrifyingly horrible. Then I tried Gameplay3D and within a week had it up and running on the Play Store.)

Randomness 128
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 17th Sep 2015 18:47
Quote: "Most games I've played usually have their settings files in a folder labeled "Data" or somesuch, which is usually in the game's containing folder. That's also how I programmed all of my games with DBP, Unity and even GameMaker."


You're doing it wrong.

http://www.rajapet.com/2013/12/its-2013-stop-trying-to-write-to-the-program-files-folder-already.html

http://stackoverflow.com/questions/946420/allow-access-permission-to-write-in-program-files-of-windows-7

320x224
Yodaman Jer
User Banned
Posted: 17th Sep 2015 21:31
Quote: "Don't worry about users needing to find the config next to your game, some games do that but not all of them. If you do need to let uses modify the config, just mention the location in your documentation."


Ah, this does make sense I suppose. It just seems so weird because I'm so used to old programs having the config files in their containing folder. I didn't realize this had changed so much (back in the Vista days, even!).

I looked and sure enough, this has been the default for almost 10 years now. Crazy. How the hell did I miss that?!

Quote: "Yes. No comprehension occurred. I moved to Gameplay3D."


Looks like an interesting engine indeed! However I think I will try to stick with AppGameKit, and not try to freak out about file access stuffs anymore.

You all know how I've been stressed lately, no wonder I overreacted so much about something as simple as that

---------------------

Brief update on my mother (for those paying attention). Apparently, it's esophageal cancer, not colon cancer. No idea bout treatments yet, we'll learn more next week. Doesn't sound super bad or super good, gee I really hate this haha. SOMEONE JUST GIVE US AN ANSWER EITHER WAY AT THIS POINT.


Forum President until June 20th, 2016.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 17th Sep 2015 21:35
Randomness 128 some big/well known; games/apps go around this and install to their own folders outside of those locations...

Take FRAPS for instance and I think even Blizzard install to a root folder location...

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 17th Sep 2015 22:44 Edited at: 17th Sep 2015 22:45
The thing with storing config files next to the exe is that the program files directory is 'write protected' unless you have UAC turned off or are running the program as administrator. This has been the case since windows vista and has broken a bunch of games for me before I turned off UAC.

Because AppGameKit is also designed to work on multiple platforms, those functions need to also be able to write on devices that you don't have full file system access on which is why they are weird.

I personally think AppGameKit is great if you want to do multi platform stuff but if you want to only make PC games, AppGameKit is fairly limiting.


Also: Im typing this message from my new custom built and 3d printed keyboard

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 18th Sep 2015 00:29 Edited at: 18th Sep 2015 00:31
Quote: "Brief update on my mother (for those paying attention)."
We are definitely paying attention! At least I am, anyway.

Quote: "Apparently, it's esophageal cancer, not colon cancer."
How could they possibly get those mixed up?

Quote: "Also: Im typing this message from my new custom built and 3d printed keyboard"
Pics or it didn't happen. Nah, I believe you, though I am curious what it looks like! Did you print it yourself?
James H
17
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 18th Sep 2015 00:43
Quote: "How could they possibly get those mixed up?"

I don't know how they diagnose but from a biopsy I would think, recently I have been coughing up dead skin from somewhere in my throat, it occurs to me that maybe it enters the digestive system and some of it got as far as the colon without being fully processed and contaminated the biopsy sample? Just a thought really.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 18th Sep 2015 01:53
Quote: "Pics or it didn't happen. Nah, I believe you, though I am curious what it looks like! Did you print it yourself? "


Pics are always nice . Here you go https://imgur.com/a/i0FDq

Yea, I printed it myself. I would never take on a project like this if I didn't have my own printer. The total time for printing the keycaps is about 25 hours I think (not counting faliures). If you have your own printer that's not really a problem since you can just turn it on and go do something else or sleep. But if I had to get them printed somewhere else, I imagine it would be expensive.

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 18th Sep 2015 04:42
A whole new world of stupid...

Drink Liquid Nitrogen Folks

Yodaman Jer
User Banned
Posted: 18th Sep 2015 04:43
Thank God I double-checked my schedule for tomorrow because apparently I open AGAIN tomorrow at 545am and work until 145... blarghghghghghghghghghgghghghghghgh


My managers keep messing with the schedules after they have supposedly "finalized" it, it's causing a lot of confusion this week and probably next week too...


Forum President until June 20th, 2016.
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 18th Sep 2015 04:50
I just wanna see this get to 50k. Apparently it's the only reason to stay.
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 18th Sep 2015 04:51
Quote: "Drink Liquid Nitrogen Folks"
This is why I prefer to consume nitrogen in its gaseous or solid state.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Sep 2015 13:18 Edited at: 18th Sep 2015 13:20
Why would the barman even possess liquid nitrogen? That's not something bars should even have, right?

[EDIT] https://en.wikipedia.org/wiki/Liquid_nitrogen_cocktail

Mr. V, why are you reading articles that are 3 years old?

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 18th Sep 2015 16:57 Edited at: 18th Sep 2015 17:00
I have heard of them having DRY ICE but this is next level...

Also Points...

EDIT

TheComet Because it resurfaced regarding the meagre £100k fine... bit of a joke figure if you asked me...

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 19th Sep 2015 00:43
10 year old sends a letter to Hasbro with a drawing of Rainbow Dash, Hasbro shreds it.

https://www.reddit.com/r/mylittlepony/comments/3ld5bw/hasbro_destroyed_my_10_year_old_daughters_letter/

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 19th Sep 2015 17:06
Quote: "Brief update on my mother (for those paying attention). Apparently, it's esophageal cancer, not colon cancer. No idea bout treatments yet, we'll learn more next week. Doesn't sound super bad or super good, gee I really hate this haha. SOMEONE JUST GIVE US AN ANSWER EITHER WAY AT THIS POINT."


Thanks for the update. I definitely am paying attention

Quote: "Also: Im typing this message from my new custom built and 3d printed keyboard"


Whoa, that's cool! A bit pointless, but very cool nonetheless! The past couple of days I've been turning the parts for my planned Cartesian (normal) 3D printer into a delta (cylindrical, vertical) 3D printer. It's advancing far, far quicker than my previous design, if only because delta printers are so much simpler to build. It's relatively small but that's fine to start with because it can help me to construct a larger one later on. Just gotta make the v2.0 carriers/carriages (whatever you want to call them) and the head support and then wait for the carbon rods to arrive and it's done. Pics when complete (in its own thread, I think)

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 19th Sep 2015 17:33
Quote: "Whoa, that's cool! A bit pointless, but very cool nonetheless!"


Totally pointless but it was a fun project, and now I can have a good keyboard with my laptop

Those delta printers look so cool compared to the standard square box like shape

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Yodaman Jer
User Banned
Posted: 19th Sep 2015 18:04
I've had a lot of Tricky Days lately. This ought to be my theme song.




Forum President until June 20th, 2016.
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 19th Sep 2015 23:42
Learning GL is going okay, I can render a triangle.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 20th Sep 2015 13:23
Quote: "Learning GL is going okay, I can render a triangle."


That's about as far as I ever got with DX9

budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Sep 2015 14:12
Quote: "Learning GL is going okay, I can render a triangle."

That's all you really need, just do that a few more times.

"Giraffe is soft, Gorilla is hard." - Phaelax
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Sep 2015 14:17
OpenGL has a nifty method of adding another polygon using a single point after the first three...

I did this on my first foray into C# a few years ago...

Too brain tired to think of the technical terms

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Sep 2015 18:08
Quote: "OpenGL has a nifty method of adding another polygon using a single point after the first three..."


?

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Sep 2015 18:28 Edited at: 20th Sep 2015 18:29
Quote: "?"

Attachments

Login to view attachments
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Sep 2015 19:02
That's not how OpenGL works though. You have to define 3 points for every polygon.

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Sep 2015 19:38
Well then this imaginary version of OGL is pretty awesome.
James H
17
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 20th Sep 2015 20:14
Um OpenGL does support triangle strips which is what MrV is talking about - you only need define the 3 points of the first triangle, the order of which first determines what side of the face is drawn and then the last two points determine the first two points of the next triangle needing just the third point to be defined. Comes at the cost of sharing the fvf data which can be problematic for uv data but then you would choose what mesh type is best for what parts of the geometry are being modeled, same as in direct x. The advantage being that it has a smaller memory footprint than a triangle list.

https://en.wikipedia.org/wiki/Triangle_strip

What TheComet refers to is triangle lists, they are all just mesh types, in DBP you can get the mesh type with a command in Matrix1Utility plugin by IanM.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Sep 2015 20:18 Edited at: 21st Sep 2015 13:49
Actually sorry, I take back what I said. It's been a while since I used GL. You can either have a vertex buffer for your quad:



Or you can use an index buffer which saves some memory by re-using duplicate vertices:



[EDIT] Or what James H said.

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Sep 2015 21:36
Yup GL_TRIANGLE_STRIP

Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 20th Sep 2015 21:48
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 21st Sep 2015 13:49 Edited at: 21st Sep 2015 21:19
If you're using google chrome, please hover your mouse over this link.

https://github.com/szhu/%%30%30

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 21st Sep 2015 13:49
About the comments in this thread... Just remember that words have different strengths and levels of societal acceptance in different countries or even states. What might seem like an exceptionally strong word to one person may be used in daily conversation with the Pope by another. Something to bear in mind when communicating on the internet. That's all I wanted to say

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 21st Sep 2015 22:49 Edited at: 21st Sep 2015 22:56
If you are using google chrome, hover your mouse over this link:

http://forum.thegamecreators.com/%%30%30

[EDIT] Here's the non-buggy link with explanation as to why this is happening: https://github.com/szhu/3030

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 21st Sep 2015 23:24
That's weird. It happened before I had properly read your post (I was reading the previous one) and I wondered why it happened.
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 21st Sep 2015 23:24
that link is rather annoying, as my cursor was in that position when the page scrolled.

"Giraffe is soft, Gorilla is hard." - Phaelax
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 21st Sep 2015 23:47
Sorry. 9 posts until page.

"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview
"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 22nd Sep 2015 00:49
9-1[i][/i]

"Giraffe is soft, Gorilla is hard." - Phaelax
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 22nd Sep 2015 01:09
Points = 9 - 2

Beta Test Age of Knights:https://play.google.com/apps/testing/com.CrazyProgrammerProductions.my_AgeOfKnights
Download JellyFish Dive:https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_JellyFishSwim
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 22nd Sep 2015 01:19 Edited at: 22nd Sep 2015 01:20
page - 2 - 1

"Giraffe is soft, Gorilla is hard." - Phaelax
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 22nd Sep 2015 04:45
Cthulhu.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 22nd Sep 2015 05:14
.uhluhtC
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 22nd Sep 2015 05:19
Bloodborne

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 22nd Sep 2015 05:49
K guys I CANNOT lose this opportunity for points
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 22nd Sep 2015 06:33
Too late

Login to post a reply

Server time is: 2024-11-23 20:37:38
Your offset time is: 2024-11-23 20:37:38