-
Posts
434 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Haydenmango
-
-
Thanks for the responses guys! I don't understand file handling very much so I've been pretty clueless.
@nick.ace - Ahhh this is possibly what Josh was getting at. I was just trying to open the .meta files by clicking on them... lol
Loading them through code makes a lot of sense and now I know!
@macklebee - That is just what I needed and it works great! Thank you very much for making that.
Now I have some code to learn from and instant gratification from macklebees app!
Thanks again!
- 1
-
I'm probably missing something obvious but how do I open the file that contains the thumbnails?
-
Thanks for the reply and that sure looks interesting but I honestly don't know what it means/how I can use it. haha
Does this mean that the .meta files contain the thumbnail? How would I go about using this?
- 1
-
I would like to use the thumbnail images created for my model assets.
Is there a way to save/open/edit model thumbnails?
-
I may be wrong but it seems that you can't change the fullscreen setting after you create the window for your game.
Would it be possible to add the ability to toggle fullscreen mode through the Window:SetLayout() function?
- 1
-
Any update on this?
I have a bunch of characters that I can't use in my game because of this issue.
-
Wow, really impressive! This could be useful for so many types of games.
-
Well honestly the Flowgraph became so integrated into my game design that I just had to deal with the mess. The only real solution I have come up with is to separate my map into multiple maps so things won't get to cluttered.
- 1
-
I found that the Flowgraph was really useful for setting up interactions between entities but it was almost impossible to organize everything after a certain point.
Makes me wonder if Hayden is using the Flowgraph at all.I used the Flowgraph extensively in a game I made called the Biodome. I haven't used it in any other of my games though.
It was really useful because I remember I tried dragging and dropping entities into other entities script tabs before hand but once I had over 200 entities to scroll through it started to take a long time. The Flowgraph on the other hand was much more simple in this regard; until I loaded up the Flowgraph editor.
Here is a video of what my Flowgraph in The Biodome looks like -
It got pretty messy. I have mixed feelings about the Flowgraph editor; it makes script logic quite simple at first but the more you use it the harder it is to use.
- 4
-
Some functions you'll probably use for shooting arrows include - Instance(), SetPosition(), SetRotation(), AddForce(),SetCollisionType(), SetMass()
Shooting arrows works like this in my game, Hunt For Food -
function Script:ShootArrow() local arrow=self.arrow:Instance() arrow.script.livetime=Time:GetCurrent()+15000 arrow.script.active=true arrow:SetMass(.5) arrow:SetPosition(Transform:Point(0,0,.75,player.camera,nil)) arrow:SetRotation(-player.camRotation.x-90,player.camera:GetRotation(true).y+180,-player.camRotation.z) arrow:AddForce(0,1250,0,false) end
I should also note that my arrows have a script to deal damage on collision. The script looks something like this -
function Script:Collision(entity,position,normal,speed) if self.active==true then self.active=false if entity.script then if entity.script.hurtable==true then self.entity:SetCollisionType(Collision.None) self.entity:SetMass(0) self.entity:SetShape(nil) self.entity:SetPosition(position) self.entity:SetParent(entity) if entity.script.health>0 then entity.script:Hurt(math.random(5,8.5),player) end self.livetime=Time:GetCurrent()+3000 end end end end
I hope this helps!
- 3
-
I just updated to the new build and when I try to update my project it says Template "Lua" not found.
-
Awesome it seems to be working for me now!!
-
I am getting this message when I try to load a map in Hunt For Food -
Error: Map file version 33 not supported. Update this project in the project manager to get the latest executable, or recompile your game.
My project is up to date and I don't get this error when running my game through the editor.
-
Thanks, I will take a look at that!
-
Hey everyone I have been having trouble finding animal sounds for my game Hunt For Food. I have already looked on freesound.org and haven't found enough.
If anyone knows a place where I can get some good quality animal sounds let me know it would be much appreciated!
-
Sometime this week I will try to publish the newest test version of Hunt For Food. I just need to lock off some heavy wip content and what not.
- 1
-
Cool, I am excited to see this in the future!
-
I am also unable to start Leadwerks (beta) after it updated earlier today so you aren't alone.
-
I sent my project to you in a PM.
-
Ever since I opted into the beta build earlier today I have been getting some strange bugs when I initially load up a map in my game. An extra light is being loaded and my character (or maybe my camera) is stuck underground. Once I load another map my game works fine, more details in the video.
I am using the Indie Edition and wasn't getting this error until I opted into the beta earlier today. Let me know if you need my project to look at.
Video Link - https://www.youtube.com/watch?v=fyyQzORQvn0&feature=youtu.be
-
Out of the two options I would say art is harder for me to obtain.
In general I would say that the performance and memory management of the editor are my biggest issues. It's possible I'm doing something wrong somewhere though.
- 1
-
I use globals and my game works fine. There are some things that globals are actually useful for.
For example I can make my main player a global labeled player then every time I need to access my main player I can easily use the global.
The only reason I can think of is ambiguity of global and local variables with the same names, but other than that, I can't think of a reason why they are bad.Yeah this is the main thing you need to look out for when using globals. You probably shouldn't create to many globals because you will have to keep track of them all but using a couple globals isn't a big deal. One other thing I ran into was when changing my map I have to reset most of my global values (especially if the global is equal to an entity) otherwise the global value will point to something that doesn't exist which will crash your game.
-
No this isn't a bug, it was related to this bug report - http://www.leadwerks.com/werkspace/topic/10954-post-effects-stay-in-memory/
-
I just found these free medieval weapon packs and I remembered this post. There is some other cool stuff on the site as well.
link - https://www.gamedevmarket.net/category/3d/objects/weapons-and-tools/
Failed to publish file.
in Leadwerks Engine Bug Reports
Posted
Every time I attempt to publish a game to the Steam Workshop I get an error message that says "Failed to publish file."
I made a video that shows the error. -- https://www.youtube.com/watch?v=ruo9VDuXj7E&feature=youtu.be
I can provide my project if needed.