ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Announcements and Showcase
forum topic indicator Source code - improvements
person icon
guest_Robbo
Guest
Quote
2024-09-27 02:18:10

New additions (available in next update):

Head bobbing (FPS Camera)
- can be adjusted with fixed ratio for both side and upward movements that auto adjusts for change in speed.
(creates a camera arc like an inverted V)

Transparent Add material
- transparency can also now be adjusted using Param1 setting like many others.

person icon
morbott
Registered User
Quote
2024-09-27 19:03:58

Sorry, I'm a noob and kinda confused. Is what you're talking about updates to CopperCube or to some tool you've written?
What you're talking about sounds cool... I just want to make sure I understand.

person icon
guest_Robbo
Guest
Quote
2024-09-28 13:08:29

Theses updates are for my own binary compiled version of CopperCube that can be added into the Editor for the finished exe for Pro and above users.

They are not part of standard CopperCube Editor that Niko occasionally updates.

person icon
blackwater
Registered User
Quote
2024-09-29 20:52:59

Interesting - will try that bobbing thing in a near future!
Always glad for all improvements to CC, so thanks Robbo!

person icon
guest2012
Guest
Quote
2024-09-30 13:04:32

imagine how cool it would be if there was a binary that combines features of robbo's and JIC's launchers

person icon
guest2013
Guest
Quote
2024-09-30 13:23:04

that would be a dream come true @guest2012

person icon
guest2014
Guest
Quote
2024-09-30 16:15:56

It doesn't seem to work out since they both have some beef with each other. Remember that discussion about a disturbance in the Force? LOL..

person icon
guest_Robbo
Guest
Quote
2024-09-30 19:42:42

New addition: Lens Flare

for next update - now working very well.
- come with adjustable max alpha and screen start point.

This took me ages to get working, over a one weeks work just to get the thing to run...works without any shaders so should work for both DirectX and OpenGL. Also works reasonable well with occlusion culling also (slight flicker yet unable to fix).

In terms of unified binary of mine and JIC - I been thinking of that also and have no beef with him at all....
So in JIC wants to combine both our efforts into one them I am up for it...

person icon
guest2015
Guest
Quote
2024-09-30 21:28:53

if only...

person icon
guest_Robbo
Guest
Quote
2024-10-03 13:52:49

Happy to say the lens flare flicker is fixed when using occlusion culling and the animated meshes dont flicker either with OC so its working nicely.

Will create a new binary soon...and of course a cool video to boot...

person icon
guest_Robbo
Guest
Quote
2024-10-06 10:39:22

New API's for Lens Flare and head bobbing now available:

https://robo25.itch.io/coppercube-new-apis

person icon
guest_Robbo
Guest
Quote
2024-10-06 23:53:14

New API: ccbSetLine2D(node, lineStart, lineEnd, linesTotal);
(shows individual lines of text from pre-made texture)

I beleive this will FIX ALL previous problems with showing correct game fonts and sizes when changing screen resolutions.

Current problems:
1. When using a Windows font and saving your exe file - that font no longer shows up in your game when the pc you run it on doesnt have that font installed.

2. When you change screen resolutions, the font sizes change also affecting postions and readability, even when using fullscreen.

FIX:
- Create your own image texture with the correct font you want in GIMP or elsewhere with the height in pixels a factor of - Then use my new API to read a specific line or lines from that texture and show only that on your 2D overlay.
- Changing resolutions has no effect on size and position if using 'relative (percent)'

person icon
guest_guest
Guest
Quote
2024-10-07 17:17:08

@Robbo, your contributions sound like gold :-)

When flipping face directions, would static mesh collision also become inverted or would there be another way to invert or even disable a mesh's static collision - as the default ccbSetSceneNodeProperty(node, "Collision", false/true) does not work at runtime?

Could you also consider fixing camera sub children clipping issue like just_in_case might have done in his custom launcher, please?

Thanks for your great work!

person icon
Guest2
Guest
Quote
2024-10-07 17:54:51

Jic launcher has an api to turn off and On collision during runtime for static meshes. I haven't tried it yet but I beleive it works.

person icon
guest_Robbo
Guest
Quote
2024-10-08 07:50:25

cheers guest_guest

I have the ability to change collision shapes and affected by gravity at runtime but not to turn collisions off as yet so maybe I could do that - I don't think flipping faces would do that.

I notice the flickering problems I had with occlusion culling were due to the camera child nodes had the 'clipping disabled' on, and so it causes problems so I don't recommend at this stage to use that.

I might later on look into that further and try and fix it...


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |