Jump to content

ChrisMAN

Members
  • Posts

    174
  • Joined

  • Last visited

Everything posted by ChrisMAN

  1. I hate osx but at least it has a real terminal and you can get binaries for it. Microsofts failure to ship a package manager for their pos toolchain is unforgivable. I would love to program in leadwerks in linux. Everything just works in a *nix operating system because its automatable and conventional. I am so sick of windows and their total disregard to talented developers. I am linked this before but it is simple truth. http://www.hanselman...AlphaGeeks.aspx It is also worth noting that open source will simply devour everything in time where it makes sense.
  2. Writing code is sort of a minigame... Most passionate coders do this.
  3. i run my game from the terminal instead of checking the logs, but yes that is my workflow. I have considered writing blender -> scene exporter. I wouldn't mind an excuse to learn python.
  4. I don't code in the editor because it is so frustrating to deal with the crashes.
  5. I don't quite understand what you are asking. If i understand this is a straight forward way about it. local settings = db:nrows("Select * from settings")[1] or CreateSettings() -- singleton row function SetSetting(field, value) db:exec("UPDATE settings SET " .. field .. " = " value") settings[field] = value end
  6. Reminds me of when i owned my own company. /jealous someday i will once more.
  7. I am writing a database wrapper and migration library atm. So boring.
  8. Are you using Rick's sql package? http://www.leadwerks.com/werkspace/files/file/302-sqlite-for-les-lua/ I have successfully used it. Have you created the table? http://www.w3schools.com/sql/sql_create_table.asp
  9. ChrisMAN

    Progress

    I would usually recommend a good ebook to listen while coding since it kills the part of your brain that tries to think, but doing documentation is a good candidate for some angsty rock.
  10. http://stackoverflow...ck-with-pinvoke Can't tell if thats good info.
  11. You have to jump through some hoops http://www.leadwerks..._Refraction.pdf
  12. The reason events are so powerful is because they reverse the flow of dependencies. It might be kind of obvious to say such but there might be people who don't know why they are awesome.
  13. I might be due for another pass through the scripts folder. All of that stuff is there. The class script is probably the most important. The code reads really well. I have wondered how much of a perf boost could be gained on the lua side by doing proper prototypical inheritance instead of creating extra functions everywhere.
  14. I would just take a normal skybox and apply a hue/saturation in photoshop with the colorize option on. You could even use a post process. It is like the grey scale but yellower. I am going to be hand painting a skybox in a couple weeks. I am very intimidated. This looks awesome havn't played with it yet. http://mouaif.wordpress.com/2009/01/05/photoshop-math-with-glsl-shaders/
  15. Entity:SetColor(Vec4) or EntityColor(Entity, Vec4) http://www.leadwerks...ies#EntityColor I have never tried it but SetEntityKey might work as well.
  16. I have looked that this post a bunch of times. It was very helpful. Rendering to buffers seems to be ok every frame as long as you aren't creating buffers but rather reusing a buffer and clearing it.
  17. Buffers are a chunk of memory on the video card. You can perform commands such as drawing that will modify buffer. You can render a buffer to the screen or save it as a texture. It is a pretty abstract concept.
  18. You should be able to use PaintEntity http://www.leadwerks.com/wiki/index.php?title=PaintEntity
  19. I really like designing interfaces. I think that it is one of the easiest ways to get good usability in games that is often overlooked.
  20. LE does support alpha. You have to set blend mode to 1. http://www.leadwerks...?title=SetBlend I have been using the 2d drawing commands to do my interfaces. http://www.leadwerks...itle=2D_Drawing I have a library that i have written that is about 85% to release an alpha. le_gui is sadly very complex. I am very happy with it but it sits around 1600 lines of code. It supports event propagation, stylesheets, a rich styles inheritence system, z sorting/index, control parenting, render caching, clipping, a good positioning system via top, left, bottom, right and most importantly a nice api. It is not documented and there are no examples so it might not even be worth your time to look at it. If you need an example of some code that will be able to handle complex interactions, it could be inspiring.
  21. My i tuned my wife's voice down a couple semitones and she sounded like my brother in law... very scary.
  22. PhysicsFS is really good at this but it isn't cross platform yet just mac, linux, pc
  23. I am looking forward to this. I am about ready to use a system file watcher that hooks in to image magick that hooks in to the nvidia legacy dds cli tools.
  24. My Intel GMA 4000 stopped working when i upgraded to windows 8. I have another gpu on the laptop. Kind of frustrating though.
  25. ChrisMAN

    iOS 6 Blues

    Here is a list of cuss words to help you on your journey. http://www.noswearing.com/dictionary I recommend all of them.
×
×
  • Create New...